×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Hello,

Thank you for your reaction.
Actually, we are sending from IFS and we have specified ASCII mode explicitly.

I get the impression that a developer on AS/400 - as far as texts files in IFS
are concerned - has a choice between LF line endings (Unix style) or CR-LF
line-endings (MS-DOS style).
The developers of this software package have chosen LF .

Regards,
Peter Van Avermaet
 ---
If you are transferring in ASCII mode the AS/400 FTP client will send CR/LF.
If you are transferring in binary mode the AS/400 will just send what is in
the file. When you are in the IFS directory I think you will find that the
AS/400 will send in binary mode by default. You might want to create the IFS
file with CR/LF or change to ASCII mode for the transfer.

Patrick
---
IBM AS/400 communications, FTP automation, and eCommerce
software and consulting services.

http://www.patownsend.com

----- Original Message -----
From: <peter_van_avermaet@coplac.be>
To: <MIDRANGE-L@midrange.com>
Sent: Friday, September 22, 2000 2:24 AM
Subject: FTP on AS/400 to FTP-server on Windows NT, IFS files

> We are doing FTP from AS/400 to NT (FTP client on AS/400, FTP server on
NT).
> The file on AS/400 is an IFS file.
> The file is transferred, except that the record terminator (end of line)
in the
> resulting file is LF, not CR-LF .
> If I read RFC959 correctly, it is the sending FTP (the AS/400 FTP in our
case)
> that should make sure the record terminator 'on the wire' is CR-LF, at
least for
> ASCII .
> Type is ASCII (of course),
> MODE is S (it has to be, becaus eof the ASCII),
> STRUCT is F (STRUCT R is not accepted by the FTP server on NT).
>
> Any solutions?
>
> SITE TRIM 0 is rejected by the NT server,
> LOCSITE TRIM 0 has no effect.
> We are using NAMEFMT 1, of course.
>
> Regards,
> Peter Van Avermaet
[...]


+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.