A couple of months ago I asked about using SFTP from the IBM i. Brad Stone
pointed me to this:
which has been very helpful.
I'm using Scott Klement's "RPG and the IFS" stuff (he seems to have tools
for everything, doesn't he?) to build the script in the IFS, because the
transmitted file name is going to change every week. I did this a couple
of times before (10+ years ago) where the file was going to be sent to a
Windows server. For that, I appended x'0d25' to the end of the data for
every write() operation.
New question: This time, the file is going to be sent to a Unix system.
Do I need to append something else to the data instead?
(PS: In 2 months time, the vendor I am going to be transmitting to has
still not given me pertinent information like, uh, the site I'm going to be
sending to. Haven't been able to test /anything/ in the actual SFTP area.)