FTP command - damaged file (german MacOS 9.2)

Geoff Canyon gcanyon at inspiredlogic.com
Thu Jan 10 11:46:00 EST 2002


At 12:36 PM +0100 1/10/02, Ralf Könner wrote:
>the following line does almost all the job: opening a connection, logging
>onto a server and sending a binary file:
>
>put URL "file:/HD/desktop folder/test.jpg" into URL
>"ftp://UserID:password@www.myServer.de/test.jpg"
>
>The only thing that fails is that the uploaded file can not be displayed in
>the browser. When trying to open the file, after downloading it back again
>from the server to my local HD via Fetch, PictureViewer and PhotoShop show
>up with a "Could not open - file is damaged" dialog.
>
>Any help is really welcome, thank you and best wishes,

It's possible the file isn't being uploaded as binary. Is it possible to trace the libURL stack to see what it's doing?

gc



More information about the use-livecode mailing list