FTP listing using "libURLftpCommand"
Josh Mellicker
josh at dvcreators.net
Tue Jan 19 15:28:10 EST 2010
Hehe, just noticed you responded to this back in 2007:
http://lists.runrev.com/pipermail/use-revolution/2007-August/102407.html
On Jan 19, 2010, at 12:26 PM, Josh Mellicker wrote:
> Stephen,
>
> You might find this post (and the demo stack) helpful:
>
> http://lists.runrev.com/pipermail/use-revolution/2007-August/102401.html
>
> Cheers
>
> Josh
>
> On Jan 18, 2010, at 3:37 PM, stephen barncard wrote:
>
>> I'd like to use the LIST command and get a decent directory listing using
>> the FTP library. Yes I know about parsing a HTML listing of a directory and
>> it really is incomplete (like year information).
>>
>> Currently only some of the libURL ftp commands work with the ON-REV ftp
>> setup, which a piece of Open Source called "Pure-FTPd -
>> http://pureftpd.org/"
>>
>> HELP returns { 214 Pure-FTPd - http://pureftpd.org/ }
>> LIST "/" returns { 425 No data connection }
>> PWD returns { "/" }
>> SYST returns { 215 UNIX Type: L8 }
>>
>>
>>
>> Has anyone used LIBURL successfully trying to gain control of the other FTP
>> commands, especially LIST?
>>
>> here's the simple code:
>>
>>
>> on mouseup
>>
>> get returnAffectedFieldName()
>>
>> put it into tObject
>>
>> put "LIST" into ftpCommandLine
>>
>> libURLSetFTPListCommand "LIST"
>>
>> get libURLftpCommand(ftpCommandLine,kFTPAdr,kLogin,kPasw)
>>
>> put it into fld tObject
>>
>> end mouseup
>>
>>
>> We really need more examples in the docs. Or is this broken? Help, please,
>> Dave Cragg.
>>
>>
>> -------------------------
>> Stephen Barncard
>> San Francisco
>> http://houseofcubes.com/disco.irev
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list