There is a timing issue - as the file needs to be moved as quickly as possible to the other server. What is the best method to do this? I know FTP would be an option - but is there a better and faster way? Would you be able to provide detailed steps of what that would be?
If the other server is Windows you can create
For both, TargetMachine is the name of the target machine (i.e you need to be able to ping it from your AS/400). After the virtual directory is ready just copy the file.
Cpy '/home/myfile.bmp' '/qfilesvr.400/TargetMachine/home/myfile.bmp'
Dig deeper on Integrated File System (IFS)
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
Searching for the right API to add users to an EIM SSO implementation? The IBM site includes sample APIs based on C.continue reading
Sending the file binary to the AS/400 after defining the destination file tagged with CCSID of 1200 may solve the problem of incorrect CCSID numbers ...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.