FTP - Use on Windows IIS
Posted: Thu Jul 23, 2009 4:06 pm
hi,
I know a few questions have been raised regarding this since the FTP lib was added. So far everything I have needed to do with FTP worked a treat and was so simple to code (I dont tell my boss that!)
Now I'm in a position where I need to know if a file exists and its date on
FTP. Remember I am talking about connecting to a Windows Server FTP here
FTPDirectoryEntryName returns the filename with the filesize as Prefix. Strange but I can handle that
but
FTPDirectoryEntryDate returns -1
Does anyone know a way I can get the filedate for a file on FTP?
Perhaps an 'undocumented' method that returns the entire server response I can parse myself?
Thanks for any help
Ian
I know a few questions have been raised regarding this since the FTP lib was added. So far everything I have needed to do with FTP worked a treat and was so simple to code (I dont tell my boss that!)
Now I'm in a position where I need to know if a file exists and its date on
FTP. Remember I am talking about connecting to a Windows Server FTP here
FTPDirectoryEntryName returns the filename with the filesize as Prefix. Strange but I can handle that
but
FTPDirectoryEntryDate returns -1
Does anyone know a way I can get the filedate for a file on FTP?
Perhaps an 'undocumented' method that returns the entire server response I can parse myself?
Thanks for any help
Ian