[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FTP transfers garbled up

We are using the FTP API to communicate with several FTP servers and never encountered any problems. Until this one server which gives two different problems. We are using ASCII mode to send over the files.

1. Storing a file in the IFS, where the CCSID of the IFS file is 1252.  When FTP'ing this file, the contents gets garbled up. As if there has been some kind of code page conversion. This only happens when using the API. Doing a manual FTP (using the FTP command) from the iSeries to the server, the file arrives intact.

2. Storing a member in a file. This file has CCSID 37. When FTP'ing a CR+LF is translated into a LF. If I am not mistaken this is an "automatic conversion" when using ASCII mode and one side is Unix and the other is PC environment. But we never encountered this before and the strange thing is, that FTP'ing manual from the iSeries this translation is not happening.

In both cases the FTP API seems to do some stuff that manual FTP isn't. And as stated before, we never saw these problems with other servers. And we do exactly the same when communicating to those other servers.

Any ideas of what might be wrong ?

Vriendelijke groet / Kind regards,

Mark Smits
Com-Unit BV, The Netherlands
The makers of Spider-Road

Tel. : +31 (0) 20 612 6856
Email: Smits@xxxxxxxxxxxx
WWW  : www.com-unit.com
This is the FTPAPI mailing list.  To unsubscribe, please go to: