HELP! - Unable to acquire FTP file list...

Ken Corey ken at kencorey.com
Thu Mar 1 18:41:25 EST 2012


On 01/03/2012 21:26, Keith (Gulf Breeze Ortho Lab) wrote:
> Anyway, I am able to upload and download files with no problem. Furthermore, I am also able to make directories and delete directories. The problem I am having is the acquisition of a file list for the FTP account. I have tried both of the following methods, but to no avail:
>
> ]libURLSetFTPListCommand "LIST"
> get libURLftpCommand("LIST","ftp.mydomain.com","myusername at mydomain.com","mypassword")
> answer it

Sounds to me like you're in active ftp mode...which is strange as 
passive mode is the default.
Try:
libURLSetFTPMode "passive"

If that doesn't work, try
libURLSetFTPMode "active"

I've not played with FTP in LiveCode, but I'd bet that solves this one.

-Ken




More information about the use-livecode mailing list