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

Copy / Move on FTP Server #17

Open
DwieDave opened this issue Nov 20, 2015 · 6 comments
Open

Copy / Move on FTP Server #17

DwieDave opened this issue Nov 20, 2015 · 6 comments

Comments

@DwieDave
Copy link

Hello, the Plugin is really great but the only thing I'm missing is to copy / and move Files on a FTP Server.

Best Regards
DwieDave

@morassman
Copy link
Owner

There's a lot around file system operations that I still want to do. I'll look into this some time. Moving a file is straight forward. I'm not too sure about folders, but I'll look into it.

Copying is a bit of an issue. The FTP protocol unfortunately doesn't support copying something on the server to another location. One can just upload and download. Copying something will therefore have to involve first downloading it and then uploading it again. Of course this will happen transparently, but it will be rather slow.

@DwieDave
Copy link
Author

Or you may could implement a 'duplicate' function, and with a working Move Function this would be perfect.

@morassman
Copy link
Owner

The FTP protocol doesn't support duplicate either. Duplicating will therefore perform the same process of first downloading and then uploading the file again. I can add a duplicate function, but unfortunately that is what it will come down to.

@DwieDave
Copy link
Author

A Copy and Duplicate Function would be great. Drag and Drop would be overkill!
Thanks for your fast replies!

@akamkomputer
Copy link

Would „Duplicate“ for SFTP work?
and COPY with the help of scp perhaps?

:-) AK

@morassman
Copy link
Owner

Sorry @halloalexkern. I somehow missed your comment.

AFAIK SFTP doesn't support duplicate either. I'm limited to what the FTP and SFTP libraries and protocols are capable of. As for scp, I'll prefer to stick to the libraries' APIs and not external applications. It's also not guaranteed that the user has SCP installed, especially Windows users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants