Hi,
I want to transfer files to my FTP server using lftp as the client and
Proftpd as the server.
I want to keep the time and date on the transferred files.
Proftpd don't use the MDTM command to set time and date, but use the
SITE UTIME command.
The syntax is : *SITE UTIME /YYYYMMDDhhmm/ /path/*
I have tested my Proftpd server with : SITE UTIME 200101010101 file and
it works.
I have this lines in my /etc/lftp.conf :
* set ftp:sync-mode off
* set ftp:use-feat on
* set ftp:use-mdtm on
* *set ftp:use-site-utime on*
* set ftp:use-mdtm-overloaded off
* set ftp:use-size on
* set ftp:list-options -a
But it does not works. When I use lftp in mirror mode "lftp -e "mirror
..." the files are transferred but the date and time are those of the
transfer, not the original date and time.
What am I doing wrong ? Could you help me ?
PS : My Lftp version is 3.7.1 and I also have tried the 3.5.10 version.
Thanks a lot
frédéric piard