Go Back   FlashFXP Forums > >

General Discussion Need help? Have a problem? Let us help you. Bug reports and feature requests should be made using the Bug Tracker or Feature Tracker

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 05-04-2011, 09:03 AM   #2
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

Thank you for bringing this to my attention.

There appears to be a bug in the command selection and I noticed it on your ioFTPD test server.

There are 3 possible commands for setting the file date/time.

MFMT
MDTM
SITE UTIME

They are used in this order based on several observations.

MFMT is only used if its found in the FEAT reply.

MDTM is used if its found in the FEAT reply and if the previous MDTM was successful OR if MDTM YYYYMMDDHHMMSS is found in the FEAT reply (this appears to be broken).

SITE UTIME is attempted in cases where MDTM fail but only if MFMT or MDTM YYYYMMDDHHMMSS isn't in the FEAT reply and only if the previous SITE UTIME was successful.

Servers that support setting the date/time via MDTM typically have MDTM YYYYMMDDHHMMSS in the FEAT reply but not all of them do which is why we try MDTM and then disable it on failure; on the other hand if MDTM YYYYMMDDHHMMSS was in the FEAT reply MDTM shouldn't be disabled and SITE UTIME shouldn't be tried. (this last part is broken in the latest 4.1 beta)
bigstar is offline  
 

Tags
command, date, file, mdtm, preserve


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 08:56 AM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)