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

Andre Garzia andre at andregarzia.com
Tue Aug 16 14:08:02 EDT 2011


Gregory,

Are you sure that they don't because they usually return the same output as
"ls" which contains such data.... strange...

andre

On Tue, Aug 16, 2011 at 2:52 PM, Gregory Lypny
<gregory.lypny at videotron.ca>wrote:

> Thanks Andre,
>
> The LIST option returns what url (“ftp://...”) does in the absence of
> libURLSetFTPListCommand, so I guess the idea of the command is to toggle
> between LIST and NLST.  Unfortunately, neither returns the creation or
> modification dates of the files.
>
> Regards,
>
> Gregory
>
>
> On Tue, Aug 16, 2011, at 11:44 AM, use-livecode-request at lists.runrev.comwrote:
>
> > Gregory,
> >
> > You can't access remote machines unless they have an FTP server or
> something
> > similar or you can mount their volumes as a disk. If you mount the remote
> > machine volumes, then you can use the detailed files but I think that
> > appleshare file sharing only works on LAN.
> >
> > You best option would be to use:
> >
> > libURLSetFTPListCommand "LIST"
> > put url "ftp://myserver/files/"
> >
> > I think LIST is the default choice, so you should already see something
> > similar to the detailed files. If your remote mac has no FTP server
> enabled
> > and it is not on LAN with File Sharing enabled, then unless you have
> > something running there, you can't get a file listing.
> >
> > andre
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
http://www.andregarzia.com All We Do Is Code.



More information about the use-livecode mailing list