Did you never have the following problem? You need to send objects to another person located somewhere in the world but
- your system has no SNADS link to the remote system
- you don't really know whom you have to send your network file (which user-id you have to use)
- they need urgently your *SAVF and cannot wait until you send a data cartridge to them
- for security reasons you are not allowed to send files to them
- it could be very expensive, depending how far the remote system is located
- to create a link for only one purpose is too long and therefore too expensive
I have a solution.
Use e-mail to transmit your *SAVF
How does is work?
- Create the *SAVF you want to send
- Start a DOS session on your PC
- FTP your AS/400 using command: FTP + IP address (example FTP 172.17.5.45)
- Log on to the FTP server using your AS/400 user-id and password
- Enter command "BINARY" once you've got the ">FTP" prompt, telling the FTP server you want to transfer *SAVF data
- Use GET command to download the AS/400 *SAVF to your PC >FTP get libname/savfname C:TEMP.......
- Once the transfer is complete, check the size of the PC file you've just created. (Be aware that for file sizes greater than 2 MB you might get problems with the e-mail system.)
- Try to ZIP the PC file
- Use e-mail to send the *SAVF. (Don't forget to attach the PC file.)
To transfer the transmitted e-mail attachment to the AS/400
(These things have to be done by your e-mail recipient.)
Be sure to create the empty *SAVF on your AS/400 before uploading the PC document:
- Save the attached file to the PC
- Start a DOS session on the PC
- FTP the AS/400 using command : FTP + IP address (example FTP 172.17.7.78)
- Log on to the FTP server using AS/400 user-id and password
- Enter command "BINARY" once you've got the ">FTP" prompt, telling the FTP server you want to transfer *SAVF data
- Use PUT command to upload the PC file to the AS/400 >FTP put C:TEMP....... libname/savfname.SAVF
- Be sure to specify .SAVF as extension for the AS/400 object
This was first published in January 2001