Posted: 08 Nov 2008 13:11 | ||
Registered User Currently Offline |
Posts: 2 Join Date: Nov 2008 |
|
we're getting a lot of these "File not found" and "Could not update remote file time" after upload. The file is successfully uploaded otherwise.
6/25/2007 1:49:40 PM: [CMD] TYPE I 6/25/2007 1:49:40 PM: [RSP] 200 Type set to I 6/25/2007 1:49:40 PM: [CMD] MDTM Xceed.Compression.Formats.dll 6/25/2007 1:49:40 PM: [RSP] 213 20070625102851 6/25/2007 1:49:40 PM: [CMD] PASV 6/25/2007 1:49:40 PM: [RSP] 227 Entering Passive Mode (193,185,148,84,6,21 6/25/2007 1:49:40 PM: [CMD] STOR Xceed.Compression.Formats.dll 6/25/2007 1:49:40 PM: [RSP] 150 Connection accepted 6/25/2007 1:49:40 PM: [RSP] 226 Transfer OK 6/25/2007 1:49:40 PM: [CMD] MDTM 20031021065130 Xceed.Compression.Formats.dll 6/25/2007 1:49:40 PM: [RSP] 550 File not found 6/25/2007 1:49:40 PM: [WRN] Could not update remote file time |
Posted: 08 Nov 2008 13:12 Last Edited By: sysaxsupport | ||
Moderator Currently Offline |
Posts: 367 Join Date: Nov 2008 |
|
I got the problem isolated to the syntax of the MDTM, I did the following test from a ftp-client to the filezilla server that's causing the problem:
This is how sysaxftp issues the command: A Sysax support ticket has been created (#338297) and a representative will get back to you shortly. ---------------------------------------------------------------------- FTP Server Program and File Transfer Software for Windows |
Posted: 08 Nov 2008 13:12 | ||
Registered User Currently Offline |
Posts: 2 Join Date: Nov 2008 |
|
I got the problem isolated to the syntax of the MDTM, I did the =
following test from a ftp-client to the filezilla server that's causing = the problem: This is how sysaxftp issues the command: ->:> MDTM 20021217073100 C1.Win.C1FlexGrid.dll ::> MDTM C1.Win.C1FlexGrid.dll ->:< 213 20021217083100 So now the question is, how can i get sysaxftp to change its syntax, or = even leave out the MDTM as we will always want to overwrite the files. = Our script looks something like this right now: disablepasv; ftpconnectssl(~server, ~port, ~user, ~password); ftpsetpath local, ~localpath; ftpsetpath remote, ~remotepath; ftpgetlist local, @local_list; ftpgetlist remote, @remote_list; foreach $loc_item in @local_list begin if $loc_item.isfolder eq true begin=20 if $loc_item.name eq ~localfolder begin=20 if ~m_dl_remotename eq "" begin=20 strprint ~m_dl_remotename, ~m_dl_localname; end=20 ftpupload folder, $loc_item.name,~remotefolder; if ftpresult eq success begin=20 print "UPLOAD A FOLDER :",~remotefolder; end end end end =20 ftpdisconnect; |
Posted: 08 Nov 2008 13:13 Last Edited By: sysaxsupport | ||
Moderator Currently Offline |
Posts: 367 Join Date: Nov 2008 |
|
The MDTM command is simply used either to get the file modification time on the server or to set it.
SysaxFTP follows the guidelines set by the IETF RFCs. I believe MDTM 20021217073100 C1.Win.C1FlexGrid.dll is used to set the modification time while MDTM C1.Win.C1FlexGrid.dll is used to get the modification time. ------------------------------------------------ FTP Server Download for Windows |