On 03/08/12 11:51, Alexander V. Lukyanov wrote:
On Fri, Aug 03, 2012 at 11:32:29AM +0100, Omega Weapon wrote:
It seems that every directory bar one has the '1899-12-30 00:00'
modified date (which will naturally cause rsync to choke).

Please turn on debug in lftp (command "debug") and see what the
server returns for MDTM command.


Here is the output for logging in and listing the home directory:

===================================================================

lftp :~> open <URL>
---- Resolving host address...
---- 1 address found: <IP address>
---- Connecting to <hostname> (<IP address>) port 21
<--- 220 BulletProof FTP Server ready ...
---> FEAT
<--- 530 Please login with USER and PASS first.
---> AUTH TLS
<--- 500 Unknown command.
---> USER <username>
<--- 331 Password required for <username>.
---> PASS <password>
<--- 230 User <username> logged in.
---> FEAT
<--- 211-Extensions supported:
<---  CLNT
<---  MDTM
<---  PASV
<---  REST STREAM
<---  SIZE
<--- 211 End.
---> PWD
<--- 257 "/" is current directory.
---> CLNT lftp/4.3.6
<--- 200 "lftp/4.3.6" noted.
cd ok, cwd=/
lftp <username>@<site>:/> ls
---> PASV
<--- 227 Entering Passive Mode (<IP address>,106,123)
---- Connecting data socket to (<IP address>) port 27259
---- Data connection established
---> LIST
<--- 150 Data connection accepted from <my IP address>:59017; transfer starting.
---- Got EOF on data connection
---- Closing data socket
drwxr-xr-x   1 ftp      ftp             0 Jul 19 13:49 <dirname>
drwxr-xr-x   1 ftp      ftp             0 Jul 17 21:07 <dirname>
drwxr-xr-x   1 ftp      ftp             0 Jul 19 16:31 <dirname>
drwxr-xr-x   1 ftp      ftp             0 Aug 02 13:05 <dirname>

===================================================================

My attempt to do the MDTM command:

===================================================================

lftp <username>@<site>:/> quote "MDTM"
---- Connecting to <site> (<IP address>) port 21
501 Bad or missing parameters.
lftp <username>@<site>:/> quote "MDTM /"
213 18991230000000

===================================================================
_______________________________________________
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp

Reply via email to