Using the Detailed Files Function to Get Info From a Remote Machine

Gregory Lypny gregory.lypny at videotron.ca
Wed Aug 17 09:14:15 EDT 2011


Thank you, Roger.  This ought to do the trick!

Regards,

Gregory


On Tue, Aug 16, 2011, at 6:46 PM, use-livecode-request at lists.runrev.com wrote:

> If all you need is the modified date/time of a file from an FTP site, the
> MDTM command works well.
> 
> put libURLftpCommand("MDTM " & pathToFile, tFtpServer, tFtpUserName,
> tFtpUserPassword) into tMDTM
> answer tMDTM
> 
> The commands like LIST, RETR, etc. that need an open socket won't work with
> this form.  Commands which perform an action such as renaming a file work
> well, and return a simple result string.
> 
> I wish there was a get the detailedFTPfiles command in LC.
> 
> http://www.nsftools.com/tips/RawFTP.htm#MDTM
> 
> ?Roger




More information about the use-livecode mailing list