How to copy file on remote server using lftp?
Moving files is as easy as using mv command, but is there any command equivalent to cp?
|
|
|
from the man page:
so you can copy a file, by doing:
perhaps that will work better than a |
|||
|
|
|
from automated bash script:
and from lftp's interactive shell:
|
|||||||||
|
|
Check the mirror builtin to transfer one or several files : lftp builtin mirror can download or update a whole directory tree. There is also reverse mirror (mirror -R) which uploads or updates a directory tree on server. Mirror can also synchronize directories between two remote servers, using FXP if available. So,
|
||||
|
|