Ok, here's my problem. I've written an app to pull down files from an FTP site using the internet transfer control. The app works fine, apart from the fact that the files that are downloaded lose the Carriage Return char (OD) from the ends of the lines. The line feed (OA) is there just fine.
If I manually FTP them from the server with a DOS session, setting the transfer mode to Binary then the file(s) arrive correctly formatted.
I've tried setting the Getchunk to icByteArray and PUTting the chunks to a file opened as binary, but that doesn't seem to change anything.
Anyone got any ideas as to where I'm going wrong? or how to make sure the file is retrieved intact?
Cheers in advance,
Menthos
If I manually FTP them from the server with a DOS session, setting the transfer mode to Binary then the file(s) arrive correctly formatted.
I've tried setting the Getchunk to icByteArray and PUTting the chunks to a file opened as binary, but that doesn't seem to change anything.
Anyone got any ideas as to where I'm going wrong? or how to make sure the file is retrieved intact?
Cheers in advance,
Menthos