mirror of
https://github.com/nspcc-dev/neofs-sftp-gw.git
synced 2026-03-01 04:29:18 +00:00
Update file upload logic #8
Labels
No labels
bug
enhancement
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nspcc-dev/neofs-sftp-gw#8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @smallhive on GitHub (Dec 20, 2023).
Originally assigned to: @smallhive on GitHub.
File upload logic is not stable.
Current Behavior
Uploading files over a few KBs may lead to parallel upload in SFTP clients. In this case, the file will be uploaded by parts in random parts order. But we need the file in direct order bytes. As a result, the file is not complete.
Expected Behavior
The full file stored
Possible Solution
Use the Temp file on FS to store data during the upload process. Then, use this file as a source to upload the complete file to the NeoFS