- Start FTP server on AS/400 using the STRTCPSVR *FTP command
- Obtain the AS/400 details (user, password, name, address)
- Use LFTP. It is sophisticated file transfer program with a command-line interface. For example, the following will send file zz.text. The variables are:
- $FTPU is FTP user
- $FTPP is user password
- $FTPS is AS/400 address and name
lftp -u $FTPU,$FTPP -e "cd qgpl; mput /dir /zz.txt; quit" $FTPS
A description for LFTP can be obtained here
Related Q&A from Shahar Mor
Use work station customize object or printer type in iSeries Access to print the output of an RPG file from the AS/400 to an HP printer.continue reading
What to do when an application is published in IFS from Win2k3 server, and users are unable to access the shared folder on AS/400.continue reading
Use the the iSeries QSYSOPR message to look for any errors in passwords when running a program on the iSeries that transfers data to a spreadsheet on...continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.