The Sysadmin Wiki
Register
Advertisement

FTP is a network protocol for file transfer.

Synchronize a folder to an FTP server[]

On Linux you can use the following command:

lftp -u user,password -d -e "mirror -vnR /var/www /serverfolder" example.com
Advertisement