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
FTP - Use on Windows IIS
It should work with native PB commands.
Have you tried connecting to ftp server with some other ftp client (like FileZilla)? Is that other client getting file dates or are they missing there as well?
This is just to make sure ftp server is working fine.
And quick google search returns this info:
Have you tried connecting to ftp server with some other ftp client (like FileZilla)? Is that other client getting file dates or are they missing there as well?
This is just to make sure ftp server is working fine.
And quick google search returns this info:
Retrieving file creation date/time is only possible with modern FTP servers that support MLST/MLSD extension (and also offer the "create" fact). On most servers, unfortunately, this is not available.