FTP troubles

Dave Cragg dcragg at lacscentre.co.uk
Mon Sep 23 08:12:01 EDT 2002


At 9:55 pm +1000 23/9/02, Brendan Bonsack wrote:

>I have the following script that attempts to send a jpeg via ftp to a
>server.
>
>
>on mouseUp
>   global tUrl
>   put
>"ftp://me:mypassword@intranet.myserver.vic.edu.au/img/testfile.jpg" into
>tUrl
>   answer file  with filter "JPEGs,*.jpg"
>   put URL "binfile:/"&it into tUploadData
>   liburlftpupload url tUploadData,url tURL,"seeit"
>end mouseUp

Try changing the last two lines to these:

put URL ("binfile:/" & it) into tUploadData
liburlftpupload tUploadData,tURL,"seeit"

Cheers
Dave



More information about the use-livecode mailing list