|
BatchFTP
is an enhancement of the FTP service on the
AS/400. |
It allows you to automate and encapsulate your FTP procedures by
using a
highly flexible scripting language.
BatchFTP
can
perform FTP tasks automatically out-of-the-box, with no
programming
involved.
When should I use the
BatchFTP?
Use
BatchFTP
whenever you need to distribute files from/to the AS/400
occasionally or
periodically.
Why
is
BatchFTP
better then my regular AS/400 FTP service?
- Batch and Online Modes of Operation
Problem: The AS/400 FTP
services allows only online FTP session. Programming is required to carry out tasks in batch mode.
Solution: BatchFTP
allows you to work in online or batch mode without
the need for any programming.
- Automation
Problem: I would like to
automatically send files to different remote locations. Solution:
BatchFTP
can send files automatically out-of-the-box. Simply drop the file into an AS/400 library that is defined to serve
BatchFTP and it will
be sent to its remote destination.
Problem:
I
must periodically retrieve files that starts with an RTN prefix (RTN*.*)
from a remote location into an AS/400 file.
How can I do it?
Solution:
BatchFTP
can
receive files with or without a file name filter from a remote location.
You can activate this option periodically or have it
triggered by some other procedure in the system.
The retrieved files are inserted into native AS/400 files.
Problem:
I
send/receive files to/from many different locations, each one with a
special connection and FTP attributes.
It is difficult to keep track of the IP, user name,
password, transfer mode, etc. for each remote location.
Is there a way to hide this information and to use it
automatically as needed?
Solution:
BatchFTP
encapsulates
the
connection and FTP attributes (IP, user name, password, transfer mode,
etc.) in a script file, so there is no need to specify anew all
the FTP attributes whenever an FTP session is needed.
With the aid of the scripts, FTP transmission is as simple
as specifying the files to send/receive and the name of the script;
BatchFTP
does
the rest.
Problem:
I
must distribute AS/400 files to Excel spreadsheets. How can I do
it?
Solution:
BatchFTP
can
export an AS/400 database to a CSV text files. The CSV file can then be
easily imported into an Excel spreadsheet or any other application
that imports CSV format.
|

-
Logging and control
Problem:
I am sending files to remote locations online using the AS/400 FTP
services, but I can not obtain a transmission log.
Solution:
BatchFTP always
maintains a complete log of the FTP session (whether in online or
batch mode). “You can use the log to determine
whether a file has been transferred successfully, and if not why.
Problem: Is there any
other way of detecting a transmission error except searching the
logs? Solution: Yes.
If a transmission error occurs, BatchFTP
takes the following actions: - A break message is sent
to the system operator. - A transmission log is
created and the
log member descriptions are updated with a warning message.
- A report is created that describes the situation. - A
user exit program is called with all the necessary information.
This program can by modified by the end user to send e-mail or SMS
messages.
- Security
Problem: Whenever I use the FTP
service I must provide sensitive information such as remote IP
and user or password to the FTP operator.
Solution:
BatchFTP keeps all
connection information in a separate script file, so that the
sensitive information is not in jeopardy.
Integration
Problem:
I do not have any programming skills. Is
BatchFTP
the right tool for me?
Solution:
Yes.
BatchFTP
provide a variety of integration levels, most of which require no
programming. The most common operations (send/receive) are
out-of-the-box options, and are provided in an AS/400 command format
that can be easily integrated into AS/400 system and programs.
|