libURLftpUploadFile insanity
Mark Schonewille
m.schonewille at economy-x-talk.com
Sun Jun 25 20:05:19 EDT 2006
Hi,
You don't need to urlEncode the user name. If you get another error,
e.g. invalid user name, you might try using + or % instead of @.
Best,
Mark
--
Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Salery is the easiest way to set up your own web store: http://
www.salery.biz/salery.html
Op 25-jun-2006, om 5:07 heeft stevex64 het volgende geschreven:
>
> 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
More information about the use-livecode
mailing list