libURLftpUploadFile insanity
stevex64
stevex64 at yahoo.com
Sat Jun 24 23:07:18 EDT 2006
This one should be simple and it's driving me insane! Here is the code:
on mouseUp
answer file "Select a file to upload"
put "me at mydomain.com" into userName
put "myPW" into userPassword
put "ftp.mydomain.com" into myServer
put "ftp://" & URLEncode(userName) & ":" & userPassword & "@" & myServer
into myFTPURL
libURLftpUploadFile it, myFTPURL
put libUrlErrorData(myFTPURL)
end mouseUp
After I get the select file dialog box and select the file I want to upload,
I always get this message, "invalid URL:"
Usernames on my server have to be in name at server.com format.
I have looked through these posts, the online docs, and the manuals I have
laying on the table in front of me, all to no avail. Thanks for any help.
Steve Ralston
--
View this message in context: http://www.nabble.com/libURLftpUploadFile-insanity-t1842984.html#a5030908
Sent from the Revolution - User forum at Nabble.com.
More information about the use-livecode
mailing list