DOS Command Line Support
To execute an iSeries File Transfer from the command line use the following commands:
For download use: IFTD Library iSeries_File FFD Type PC_FileName
For upload use: IFTU Library iSeries_File FFD PC_FileName
Library is the library on the iSeries server
iSeries_File is the data file to use for the transfer
FFD is the file field descriptor
Type: 0 for XLS, 1 for CSV, 2 for Tab-delimited(TXT)
PC_FileName is the destination filename for the XLS, CSV, or TXT file
BZFTP /L''IFTD QGPL F1201 OUTFILE 0 F1201.XLS''
This example will perform an iSeries File Transfer download on QGLP\F1201 by creating a FFD of the name OUTFILE and then create the Excel spreadsheet F1201.XLS.
Related Topics:
iSeries (AS/400) Data Transfer