- 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
Dig deeper on FTP
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
Searching for the right API to add users to an EIM SSO implementation? The IBM site includes sample APIs based on C.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.