Tested with a download list with the following contents (but username, password and server name are fake) :[General]
SpecialFlags=16
ConnectRetries=10
WaitDelay=5
transfermode=I
LogFile=%TEMP%\tcftp_rc5.log
FtpInBackground=0
ModeZ=1
AutoResume=30
[default]
PreserveDates=1
PreserveDatesUpload=0
Code: Select all
put:d:\test123.txt -> ftp://user:password@ftp.example.com/test123.txt
As you can see, TC attempts to preserve the timestamp of the uploaded file even though the setting "PreserveDatesUpload=0" says not to do so, and even though this server does not support the necessary commands....
BG:SYST
BG:215 UNIX Type: L8
BG:FEAT
BG:211-Features:
BG: AUTH TLS
BG: EPRT
BG: EPSV
BG: MDTM
BG: PASV
BG: PBSZ
BG: PROT
BG: REST STREAM
BG: SIZE
BG: TVFS
BG: UTF8
BG:211 End
BG:HELP SITE
BG:214-The following commands are recognized.
BG: ABOR ACCT ALLO APPE CDUP CWD DELE EPRT EPSV FEAT HELP LIST MDTM MKD
BG: MODE NLST NOOP OPTS PASS PASV PORT PWD QUIT REIN REST RETR RMD RNFR
BG: RNTO SITE SIZE SMNT STAT STOR STOU STRU SYST TYPE USER XCUP XCWD XMKD
BG: XPWD XRMD
BG:214 Help OK.
BG:OPTS UTF8 ON
BG:200 Always in UTF8 mode.
BG:Connect ok!
...
BG:STOR /test123.txt
BG:150 Ok to send data.
BG:Upload
BG:226 Transfer complete.
BG:MFMT 20250213130225 /test123.txt
BG:500 Unknown command.
BG:SITE UTIME 20250213130225 /test123.txt
BG:500 Unknown SITE command.
BG:SITE UTIME /test123.txt 20250213130225 20250213130225 20250213130225 UTC
BG:500 Unknown SITE command.
BG:SIZE /test123.txt
BG:213 7
BG:Copied (15-02-2025 12:59:06): d:\test123.txt -> ftp://ftp.example.com//test123.txt 7 bytes, 0 bytes/s
BG:QUIT
BG:221 Goodbye.
This does not happen when uploading the file normally (without download list), even with "PreserveDatesUpload=1" in wcx_ftp.ini.