Return to the FTP Tips
File PC to a AS/400 spool file?
This will work for printing a file from a PC via FTP:
ftp as400 Name (as400:klemscot): klemscot 331 Enter password. Password: 230 KLEMSCOT logged on. ftp> cd qsys 250 Current library changed to QSYS. ftp> ascii 200 Representation type is ASCII nonprint. ftp> put myfile.txt qsysprt local: myfile.txt remote: qsysprt 200 PORT subcommand request successful. 150 Sending file to member QSYSPRT in library QSYS. 250 File transfer completed successfully. 4240 bytes sent in 0.49 seconds (8.49 KB/s) ftp> quit 221 QUIT subcommand received.
[report a broken link by clicking here]