Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
3.4k views
in .NET FTP by
Hi,

I am currently sending a text file to an AS400 system. I use the ascii transfer type and it seems to work fine unless the text file contains any foreign characters. We have a lot of French and German data and when it is transfered then it seems to change those characters and truncate the string length.

I have read various posts and saw the one recommnding changing the transfer type to binary. When I do this, the AS400 administrator says the file just contains garbage.

Have you any ideas?

Thanks,

Richard

4 Answers

0 votes
by (51.6k points)
When a file is sent in binary mode, the data is sent as is, without any modification, so it seems unlikely that the data should be changed in your case. Is there any chance that you're sending files in UNICODE and that the AS400 is not viewing the file with a UNICODE editor?

- Hans (EDT)
0 votes
by
If this is the case wouldn't they have the same issue when I send it using ascii?
0 votes
by (51.6k points)
No, edtFTPj would not convert a file from ASCII to UNICODE.

- Hans (EDT)
0 votes
by (162k points)
It may be that AS/400 has a different line terminator for ASCII files and you may need to convert the file to AS/400 ASCII format.

On Unix this is achieved by the unix2dos command.

Categories

...