I'm using lftp mirror to copy my local files to a remote ftp-server.
The command is:
Code:
lftp -e "mirror --continue --verbose=3 --only-newer --reverse --log=/logfile.log /local/dir /remote/dir" ftp.ftpserver.com
Everytime I run this command, there are always four files that are not transferred.
The debug log shows this for the four files:
Code:
---> PASV
<--- 227 Entering Passive Mode (38,99,42,154,194,231)
---- Connecting data socket to (38.99.42.154) port 49895
---- Data connection established
---> ALLO 264642
<--- 200 OK
---> STOR RIMG0026.JPG
<--- 150 Opening BINARY mode data connection for file RIMG0026.JPG.
<--- 425 Can't open data connection.
---- Closing data socket
Someone please advice what to do?
All other files in the local directory are transferred correctly.
It is the same result with or without the --only-newer option.