Update file upload logic #8

Closed
opened 2025-12-28 17:59:24 +00:00 by sami · 0 comments
Owner

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

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
sami 2025-12-28 17:59:24 +00:00
  • closed this issue
  • added the
    bug
    label
Sign in to join this conversation.
No labels
bug
enhancement
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nspcc-dev/neofs-sftp-gw#8
No description provided.