Discussion:
can you FTP a PDF file to the AS400?
(too old to reply)
Gary Massengale
2006-09-01 19:17:40 UTC
Permalink
we have purchased an email software package for our AS400 to email reports
to salesmen and such.
all the reports are AS400 based.

I was just given an adobe PDF file that they would like to email to the
salesmen once a week using this software package.

I know we can transfer the PDF file from a PC to the AS400 via FTP, but not
having done this before I was wondering if it woud make any changes to the
file?
Meaning: would the PCs still be able to open it?

here is what I thought we would do to transfer (found this on google)
1.. Create a new save file on your AS/400 using the following command:

CRTSAVF FILE(library/file_name) AUT(*ALL)

2.. Start the FTP client software on your PC and connect to the AS/400.

3.. Use the binary command to insure that transmissions are done in binary
mode.

4.. Use the cd command to set the current library on the AS/400 to the
library containing the save file you created.

5.. Use the put command to send the xxx.sav file from the PC to the save
file you created on the AS/400. When prompted, specify the qualified name
of the PC file for "Local file". Specify the qualified name of the AS/400
save file, in library_name.file_name format, for "Remote file".

anybody see any problems with this?

gary
"Bill" <bwragg@cogeco.net>
2006-09-01 21:12:07 UTC
Permalink
So it's a PDF which resides on your PC? Just ftp from your PC to System i
then use namefmt 1. This will alow you to ftp the file to the IFS on the
System i. No need for any save files.

Or even better, open a share on the IFS from your PC and drag and drop it.
To open share at PC run \\yoursysteminamehere\

It will open a window of share names on the IFS

You know about the IFS, Right?

Bill
Post by Gary Massengale
we have purchased an email software package for our AS400 to email reports
to salesmen and such.
all the reports are AS400 based.
I was just given an adobe PDF file that they would like to email to the
salesmen once a week using this software package.
I know we can transfer the PDF file from a PC to the AS400 via FTP, but
not having done this before I was wondering if it woud make any changes to
the file?
Meaning: would the PCs still be able to open it?
here is what I thought we would do to transfer (found this on google)
CRTSAVF FILE(library/file_name) AUT(*ALL)
2.. Start the FTP client software on your PC and connect to the AS/400.
3.. Use the binary command to insure that transmissions are done in
binary mode.
4.. Use the cd command to set the current library on the AS/400 to the
library containing the save file you created.
5.. Use the put command to send the xxx.sav file from the PC to the save
file you created on the AS/400. When prompted, specify the qualified name
of the PC file for "Local file". Specify the qualified name of the AS/400
save file, in library_name.file_name format, for "Remote file".
anybody see any problems with this?
gary
m***@thomsonlearning.com
2006-09-02 12:10:27 UTC
Permalink
One more thing to add to Bill's statement: Make sure you transfer it in
binary mode.

Matt
Post by "Bill" <***@cogeco.net>
So it's a PDF which resides on your PC? Just ftp from your PC to System i
then use namefmt 1. This will alow you to ftp the file to the IFS on the
System i. No need for any save files.
Or even better, open a share on the IFS from your PC and drag and drop it.
To open share at PC run \\yoursysteminamehere\
It will open a window of share names on the IFS
You know about the IFS, Right?
Bill
Gary Massengale
2006-09-06 13:37:44 UTC
Permalink
yup, know a little about IFS.

I have setup QNTC before so that the 400 could transfer a file to a PC, but
had not tried the reverse.

will give this a shot.

thanks!

gary
Post by "Bill" <***@cogeco.net>
So it's a PDF which resides on your PC? Just ftp from your PC to System i
then use namefmt 1. This will alow you to ftp the file to the IFS on the
System i. No need for any save files.
Or even better, open a share on the IFS from your PC and drag and drop it.
To open share at PC run \\yoursysteminamehere\
It will open a window of share names on the IFS
You know about the IFS, Right?
Bill
Post by Gary Massengale
we have purchased an email software package for our AS400 to email
reports to salesmen and such.
all the reports are AS400 based.
I was just given an adobe PDF file that they would like to email to the
salesmen once a week using this software package.
I know we can transfer the PDF file from a PC to the AS400 via FTP, but
not having done this before I was wondering if it woud make any changes
to the file?
Meaning: would the PCs still be able to open it?
here is what I thought we would do to transfer (found this on google)
CRTSAVF FILE(library/file_name) AUT(*ALL)
2.. Start the FTP client software on your PC and connect to the AS/400.
3.. Use the binary command to insure that transmissions are done in
binary mode.
4.. Use the cd command to set the current library on the AS/400 to the
library containing the save file you created.
5.. Use the put command to send the xxx.sav file from the PC to the save
file you created on the AS/400. When prompted, specify the qualified
name of the PC file for "Local file". Specify the qualified name of the
AS/400 save file, in library_name.file_name format, for "Remote file".
anybody see any problems with this?
gary
Richard Schoen
2006-09-02 17:04:09 UTC
Permalink
Turn on NetServer on the iSeries and you can copy the PC file to the IFS
using the iSeries as a standard Windows share \\iseriesname\folder

If you're open to a commercial solution, we have two options that might work
for you:

1.) Email File Server - Can deliver PC files from Windows directories
automatically.

2.) SMTP/400 - Native iSeries application to email IFS files.

For more information check out our web site or feel free to contact me
directly for discussion.

Regards,
Richard Schoen
RJS Software Systems Inc.
"Providing Your....iNFORMATION NOW!"
Email: ***@rjssoftware.com
Web Site: http://www.rjssoftware.com
Tel: (952) 898-3038
Fax: (952) 898-1781
Toll Free: (888) RJSSOFT
Post by Gary Massengale
we have purchased an email software package for our AS400 to email reports
to salesmen and such.
all the reports are AS400 based.
I was just given an adobe PDF file that they would like to email to the
salesmen once a week using this software package.
I know we can transfer the PDF file from a PC to the AS400 via FTP, but
not having done this before I was wondering if it woud make any changes to
the file?
Meaning: would the PCs still be able to open it?
here is what I thought we would do to transfer (found this on google)
CRTSAVF FILE(library/file_name) AUT(*ALL)
2.. Start the FTP client software on your PC and connect to the AS/400.
3.. Use the binary command to insure that transmissions are done in
binary mode.
4.. Use the cd command to set the current library on the AS/400 to the
library containing the save file you created.
5.. Use the put command to send the xxx.sav file from the PC to the save
file you created on the AS/400. When prompted, specify the qualified name
of the PC file for "Local file". Specify the qualified name of the AS/400
save file, in library_name.file_name format, for "Remote file".
anybody see any problems with this?
gary
Continue reading on narkive:
Loading...