FTP problem
Jan Schenkel
janschenkel at yahoo.com
Tue Sep 24 07:52:00 EDT 2002
Hi Brendan,
I don't think I'm the only one experiencing a deja-vu.
Dave Cragg already answered your question. Look at
this entry in the use-revolution mailing list archive:
http://lists.runrev.com/pipermail/use-revolution/2002-September/008109.html
It boils down to putting ("binfile:"&it) between
parentheses in the one-but-last line, and removing the
two "url" keywords from the last line.
Best regards,
Jan Schenkel.
"As we grow older, we grow both wiser and more foolish
at the same time." (De Rochefoucald)
--- Brendan Bonsack <brendan at poolcreative.com> wrote:
> Hi List,
>
> I'm wondering if anyone can help me with this
> problem...
>
> 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
>
>
> The same file works okay using other FTP apps, but
> with Revolution, the
> file arrives at its destination, but is not a valid
> Jpeg and when opened
>
> in a text editor, simply displays the local path as
> a string. Can anyone
>
> see what is going wrong. I have tried various
> approaches but cannot get
> it to FTP binary data it seems.
>
> Cheers
>
> Brendan
>
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
>
http://lists.runrev.com/mailman/listinfo/use-revolution
__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com
More information about the use-livecode
mailing list