FTP Help

Dar Scott dsc at swcp.com
Fri May 20 14:33:00 EDT 2005


On May 20, 2005, at 11:55 AM, Gregory Lypny wrote:

> I have a tab-delimited text file with 227 lines.  Call it theFile.txt. 
>  I have a copy on my local Mac at home, and I've placed a copy on my 
> remote Mac at the office.  When I use the handler below to get the 
> file from the remote server, it appears in the field in my stack as 
> one long garbled line; in other words, it looks like I've lost the 
> return characters.  When I tried to import other text files that were 
> already on the remote server, they come through fine.  When I import 
> the file a local folder, it is fine.
>
> What am I doing wrong?

You might want to consider libURLftpUpload and libURLftpUploadFile.  
These can handle data and files as binary.

Dar

-- 
**********************************************
     DSC (Dar Scott Consulting & Dar's Lab)
     http://www.swcp.com/dsc/
     Programming and software
**********************************************



More information about the use-livecode mailing list