FTP command - damaged file (german MacOS 9.2)

Ralf K=?ISO-8859-1?B?9g==?=nner koenner at t-online.de
Fri Jan 11 14:35:00 EST 2002


Thank you folks,

"binfile:/HD/desktop" wokrs perfectly well.

Best regards,
Ralf

> From: Scott Raney <raney at metacard.com>
> 
> Ah, but you're *not* sending a binary file, unless you're working on a
> UNIX sytem.  "file:" on Win32 and MacOS systems does line-delimiter
> translation.  You probably want "binfile:".
> Regards,
> Scott
------------------------------------------------------------------------
> From: "Chipp Walters" <chipp at chipp.com>
> 
> I've a test FTP stack on this page:
> http://www.altuit.com/webs/altuit2/RunRev/Downloads.htm
------------------------------------------------------------------------
> From: "Chipp Walters" <chipp at chipp.com>
> 
> try using "binfile:/HD/desktop" instead of "file:/HD/desktop"
------------------------------------------------------------------------
>> Dear list,
>> 
>> 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,
>> 
>> Ralf




More information about the use-livecode mailing list