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

Reply via email to