Hi All,
I am back to playing with FTP and have a problem. I have a shared server with
unlimited FTP accounts and have created an account for testing purposes. (I am
NOT using the main FTP account for my hosting package.)
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","[email protected]","mypassword")
answer it
Implementing the above, I keep getting:
“425 No Data Connection”
Furthermore, I have also tried the following:
constant FTPHOST = "ftp.mydomain.com"
put the urlencode of "[email protected]" into FTPUSER
put the urlencode of "mypassword" into FTPPASS
libURLSetFTPListCommand "LIST"
put url "ftp://" & FTPUSER & ":" & FTPPASS & "@" & FTPHOST into myVar
answer myVar
But nothing... What am I doing wrong? I thought the problem might be that the
username is in the form of an email address (which includes the "@" character),
but the other commands work--for example:
get libURLftpCommand("DELE
"&delFile,"ftp.mydomain.com","[email protected]","mypassword")
put libURLftpCommand("MKD "
&foldername,"ftp.mydomain.com","[email protected]","mypassword") into
FTPme
Any help would be most appreciated! Thanks!
Sincerely,
- Boo
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode