Posts Tagged ftp

script v IBM

I had a real little battle today getting a batch file to ftp from WIn XP to a IBM mainframe. I’ll update this post with thte [suitably] modified code but the real tricks were:

1. just putting the file path and name to be sent to the mainframe in uppercase e.g. AAA.BBBB.FILENAME.TXT, and
2. adding single quotes around the IBM path e.g.
put c:\filename.txt  ‘AAA.BBBB.FILENAME.TXT’

Leave a Comment