HELP! - Unable to acquire FTP file list...
Dave Cragg
dave.cragg at lacscentre.co.uk
Thu Mar 1 16:59:29 EST 2012
On 1 Mar 2012, at 21:26, Keith (Gulf Breeze Ortho Lab) wrote:
>
> ]libURLSetFTPListCommand "LIST"
> get libURLftpCommand("LIST","ftp.mydomain.com","myusername at mydomain.com","mypassword")
> answer it
>
> Implementing the above, I keep getting:
>
> “425 No Data Connection”
Unfortunately, the LIST command requires a parallel data connection to be set over which the data is returned. This is messy to do.
> Furthermore, I have also tried the following:
>
> constant FTPHOST = "ftp.mydomain.com"
> put the urlencode of "myusername at mydomain.com" into FTPUSER
> put the urlencode of "mypassword" into FTPPASS
>
> libURLSetFTPListCommand "LIST"
> put url "ftp://" & FTPUSER & ":" & FTPPASS & "@" & FTPHOST into myVar
>
> answer myVar
>
> But nothing...
Does it work if you add a "/" after FTPHOST.
e.g.
constant FTPHOST = "ftp.mydomain.com/"
Dave
More information about the use-livecode
mailing list