The Computer Oracle

Syncronizing files over FTP

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Magic Ocean Looping

--

Chapters
00:00 Syncronizing Files Over Ftp
00:56 Answer 1 Score 3
01:05 Accepted Answer Score 14
01:30 Answer 3 Score 5
01:41 Thank you

--

Full question
https://superuser.com/questions/33856/sy...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#linux #sync #ftp

#avk47



ACCEPTED ANSWER

Score 14


Because I couldn't get wput to work, I looked for an alternative and found: ncftp.

More specifically ncftpput seemed to do almost what wput was designed to do. Most importantly for me, it didn't crash like wput. And indeed it manages to upload only those files that haven't changed using the -z option:

ncftpput -z -u user -p pass ftp.mydomain.com dir/name files-to-upload...



ANSWER 2

Score 5


lftp seems also appropriate here: https://stackoverflow.com/a/693280/480534

Summary:

lftp <username>@<server>
  mirror -c <source> <dest>
  exit



ANSWER 3

Score 3


Sure, and it is called wput