Keeping time and date when downloading using ftp

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
nadavsh
Junior Member
Junior Member
Posts: 2
Joined: 2004-09-27, 10:39 UTC

Keeping time and date when downloading using ftp

Post by *nadavsh »

Hi!

I'm using Total Commander to download files with ftp from an os/2 computer.

I'm tring to find a way to keep the time and date of the files that I download.
(usually they all get the current time and date)

Also keeping the time and date when uploading will be quite nice.

Thank you

Nadav
User avatar
Hacker
Moderator
Moderator
Posts: 13142
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

'm tring to find a way to keep the time and date of the files that I download.
(usually they all get the current time and date)
There's a checkbox for that in the dialog box that you get when you press F5 on a FTP server.

HTH
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
nadavsh
Junior Member
Junior Member
Posts: 2
Joined: 2004-09-27, 10:39 UTC

Post by *nadavsh »

Thank you Roman!

I feel very stupid because I looked alot for that option in the configuration and it was just there in the dialog of copy.

I actually find it myself an hour ago but didn't managed to reply here about it.

Anyway what still bother me is that the directroies I copy still get new date and that on upload the date is changed too.

If anyone has solution to that it will help.

Thank you
User avatar
Hacker
Moderator
Moderator
Posts: 13142
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

the directroies I copy still get new date and that on upload the date is changed too.
The FTP protocol doesn't support that, however, there is an enhancement command called MDTM which does work with some servers. TC tries to set the date when synchronizing with FTP, as this is crucial. AFAIK it doesn't try when performing a normal upload, there is no option for that, either. Taken from TC's Help file:
"New functions and fixes in Total Commander 6.0:
[...]
- Synchronize dirs now tries to set the date/time of FTP files via MDTM command (not working with all servers)"

HTH
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50532
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Indeed MDTM isn't supported by most servers for SETTING the date, because in the Internet standards (RFC), it's only defined for reading the date, not for writing. Also there is currently only a time zone correction in the sync module, not in the main program, that's why MDTM has only been added to the sync module.
Author of Total Commander
https://www.ghisler.com
Post Reply