How do I FTP a save file to the AS/400? I've done it before, but it's been a while. I'll tell you what I'm doing and you can fill in what I'm messing up/missing: Open MS/DOS session on the PC. CD C: (the file on my PC is in crive Cftp (AS/400 IP address) signon with username and password CD MyLib (sets my library to current lib) Binary Put filename When I do that, I get a Physical File on the 400 that I can't restore. I think I remember having to create the savefile on the 400 first, but when I do that in my library, it tells me it can't write to that file when I do the FTP. Any suggestions? Keith

ftp (AS/400 IP address) signon with username and password CD MyLib (sets my library to current lib) Binary Put filename When I do that, I get a Physical File on the 400 that I can't restore. I think I remember having to create the savefile on the 400 first, but when I do that in my library, it tells me it can't write to that file when I do the FTP. Any suggestions? Keith
Reply With Quote
:FTPSCR~1DMCFTP~1.TXT Prior to running this batch file, I put my save file in a directory called d: ransfer and specify .savf for the extension. The script file which is D:FTPSCR~1DMCFTP~1.TXT in this case contains the following lines: lcd d: ransfer open mysys myprofile mypassword quote site namefmt 1 bin After this script is run, I will be at a prompt and simply enter: put savfilnam.savf quit The first of the script sets the local transfer from directory. The next line connects to my AS/400. Then next two lines enter my profile and password (don't tell anyone) the next line sets naming to the system naming convention which makes it so that .savf transfers to a save file rather than a data base file. Bin is transfer as binary. David Morris
