Hi All,

I am playing with FTP and am successfully able to upload a file to my shared 
server... No problem.

However, when I try the following command to delete the file after uploading, 
it does not work:

put "file.txt" into delFile
constant FTPHOST = "ftp.mydomain.com"   
put the urlencode of "[email protected]" into FTPUSER
put the urlencode of "test" into FTPPASS
get libURLftpCommand("DELE "&delFile,FTPHOST,FTPUSER,FTPPASS)

Also, when add the following line to my code:

answer libURLftpCommand("HELP",ftp.mydomain.com)

I get the following error message:

421 Can't change directory to /var/ftp/ [/]

What am I missing here? Do I need to include the full path? FYI: The ftp 
account I am accessing is a basic account that I added via my cPanel... (It is 
a single directory on my server... This is not the main FTP account for my Web 
hosting account.)

Thanks!

- 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

Reply via email to