Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to upload with temporary name and rename file after transfer is complete #4165

Closed
cyberduck opened this issue Jan 28, 2010 · 5 comments
Assignees
Milestone

Comments

@cyberduck
Copy link
Collaborator

4c61ca1 created the issue

An option to rename transferred files after they complete would be very useful for those who do lots of filebased video editing. If the transferred file could be uploaded with a custom file extention, and then renamed to its correct file extention when complete, would greatly improve the stability of watchfolder waiting for incoming files on servers. Simple, but very powerful. Watchfolders could be set to ignore files set to a certain filetype, leaving the files alone until Cyberduck confirms that the upload is complete.

If a user is disconnected halfway in a transfer, the receiving server assumes the transfer is complete, and the uncomplete file will continue into the system.

Cyberduck could prevent all of this, solving a workflow issue for lots of videoproduction people :)

Hope this suggestion makes sense, we would love to see it implemented!

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Will look into this. Sounds like a useful enhancement.

@cyberduck
Copy link
Collaborator Author

www.nrk.no commented

Thank you for looking into this dkocher.

Please feel free to contact me if you want help for testing or just more encouragement. We are very interested in this project.
email adress: n21540@nrk.no

@cyberduck
Copy link
Collaborator Author

@dkocher commented

The implementation will be dependent if the target host supports renaming files. Feature will be disabled for protocols that do not support file renaming such as Rackspace Cloudfiles.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

In 968974b. This can be enabled using the following hidden preference. Use

defaults write ch.sudo.cyberduck queue.upload.file.temporary true

to enable.

To specify a different temporary filename pattern, use

defaults write ch.sudo.cyberduck queue.upload.file.temporary.format "'{0}-{1}'"

where {0} is the original filename and {1} is a random UUID. The default setting uses a temprary filename of filename-uuid.

An upload that is not complete, will not be renamed.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Interface in Preferences to toggle queue.upload.file.temporary in 07d8a1d.

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants