Using FTP to send an AS/400 Save File to a PC
- Go to a MS-DOS Shell.
- Go to the location on the PC where you want to store the save file.
- Type:
- Enter your AS/400 username and password for that system when prompted.
- To ensure the transfer mode is binary (there will be no conversion), type:
- To go to the library on the AS/400 where the save file is stored, type:
- To transfer the save file from the AS/400 to your PC, type:
- When the transfer is complete, exit the ftp session by typing:
- To close the MS-DOS shell, type:
FTP (AS/400_IP_ADDRESS)
Or
FTP (AS/400 _NAME)
BIN
CD LIBRARY
GET NAME
QUIT
EXIT
After this you could attach this file to an e-mail.
Example MS-DOS Shell
MICROSOFT(R) WINDOWS 95
(C) COPYRIGHT MICROSOFT CORP 1981-1996
C:\WINDOWS>CD . .
C:\>CD TEMP
C:\TEMP>FTP AS400
CONNECTED TO AS400.
220-QTCP AT AS400.
220 CONNECTION WILL CLOSE IF IDLE MORE THAN 5 MINUTES.
USER (AS400:(NONE)): USER
331 ENTER PASSWORD.
PASSWORD:
230 USER LOGGED ON.
FTP> CD SAVFLIB
250 CURRENT LIBRARY CHANGED TO SAVFLIB.
FTP> BIN
200 REPRESENTATION TYPE IS BINARY IMAGE.
FTP> GET NAMESAVF
200 PORT SUBCOMMAND REQUEST SUCCESSFUL.
150 RETRIEVING MEMBER NAMESAVF IN FILE NAMESAVF IN LIBRARY SAVFLIB.
250 FILE TRANSFER COMPLETED SUCCESSFULLY.
514800 BYTES RECEIVED IN 2.14 SECONDS (240.56 KBYTES/SEC)
FTP> QUIT
C:\TEMP>EXIT
Updated Oct. 6, 1999




