06-18-2007, 09:24 AM
I often use FtpUpload to upload my files. It works well. In your case, maybe it depends on FTP site, or some parameters are incorrect. Try to use Ftp class functions directly, without FtpUpload. Password can be encrypted ("[*...*]") or not. Example:
;Declare variable and start FTP session:
Ftp f.Connect("ftp.server.com" "myname" "[*074A294684CB7360*]")
;Change current ftp directory:
if(!f.DirSet("public_html/images")) mes- "FTP error: DirSet failed."
;Change current local directory:
ChDir "c:\my documents\my pictures"
;Upload file:
if(!f.FilePut("one.gif" "one.gif")) mes- "FTP error: 'one.gif' upload failed."