Using the Detailed Files Function to Get Info From a Remote Machine
andre at andregarzia.com
Wed Aug 17 09:21:06 EDT 2011
on the previous threads I shared a little NTP library
On Wed, Aug 17, 2011 at 10:14 AM, Gregory Lypny
<gregory.lypny at videotron.ca>wrote:
> Thank you, Roger. This ought to do the trick!
> On Tue, Aug 16, 2011, at 6:46 PM, use-livecode-request at lists.runrev.comwrote:
> > 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
> > 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
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
http://www.andregarzia.com All We Do Is Code.
More information about the Use-livecode