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

Keith (Gulf Breeze Ortho Lab) keith at gulfbreezeortholab.com
Thu Mar 1 17:16:47 EST 2012


Hi Dave,

You wrote:

"Does it work if you add a "/" after FTPHOST.

e.g.

constant FTPHOST = "ftp.mydomain.com/"

Dave"

Unfortunately, no. I tried that previously, as well as various other things, 
but still no go...

Thanks,

- Boo

-----Original Message----- 
From: Dave Cragg
Sent: Thursday, March 01, 2012 3:59 PM
To: How to use LiveCode
Subject: Re: HELP! - Unable to acquire FTP file list...


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
_______________________________________________
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 





More information about the use-livecode mailing list