18

I want to copy files from one directory to another on the same server using FileZilla. Please guide me how can it be done?

15

FileZilla does not support duplication (copying) of remote files. Neither by drag&drop nor any other way (menu, keyboard shortcut).


One of the reasons is a lack of support for this operation in majority of the FTP and SFTP servers. There's actually no standard way to duplicate a remote file over FTP or SFTP protocol. Some FTP and SFTP servers support proprietary or non-standard extensions for this though.


Some FTP/SFTP clients do support remote file duplication. Either using the extension or via a temporary local copy of the remote file.

For example WinSCP SFTP/FTP client does support the duplication using both drag&drop and menu/keyboard command:

  • It supports the SITE CPFR/CPTO FTP extension (supported for example by ProFTPD mod_copy module)
  • It supports the copy-file SFTP extension (supported for example by ProFTPD/mod_sftp and Bitvise SFTP servers).
  • It falls back to automatic duplication via a local temporary copy, if the above extensions are not available.

(I'm the author of WinSCP)


Some mistake copy and move. Moving a file between two remote directories is widely supported by SFTP and FTP servers and clients. In FileZilla (or WinSCP), just drag the file between the folders to move it.

  • 1
    And an excellent product I must say. Great work. Thanks – Fandango68 Sep 14 '18 at 5:33
6

One obvious solution is to download the file to a temporary local directory and upload it to the target directory.

It's not always possible for you to write to the target directory if your account does not have write access. So "copying" to the target directory is not always possible.

  • 1
    FileZilla doesn't have a copy option? – Fahad Uddin Sep 17 '15 at 7:39
  • I haven't seen such an option myself. e.g. if you drag&drop from one remote server to another (possibly the same server), FileZilla won't allow it, as of 3.14. – tinlyx Sep 17 '15 at 7:42
  • If one drag and drop file from one directory to another, it gets moved not copied. – Fahad Uddin Sep 17 '15 at 7:43
  • This doesn't seem to work for me. I am using version 3.14.0. – Fahad Uddin Sep 17 '15 at 7:54
  • 1
    While dragging the file (even when holding Ctrl) FileZilla always shows the + icon. This is misleading because it moves the file - no copy. FileZilla 3.28.0 – Kai Noack Oct 17 '17 at 11:07
2

It’s like this answer says: FTP simply doesn’t support remote copying. If only FTP access is available you’ll have to download the file and upload it again, to the desired location.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.