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","myusern...@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 "myusern...@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to