I am trying to FTP a file from a unix server to mainframe. I have no idea how these main frames work
but I have been told to use a specific remote file name for that file which is AAAA.BB.CCCCCCCC.XXXXX.DDD
ftp <remote server>
logged in and I was in
changed the local directory to the desired one where my file file1 is there using lcd
put file1 AAAA.BB.CCCCCCCC.XXXXX.DDD
I got an error saying
501 Invalid data set name. Use Dsname conventions.
I tried using single quotes and double quotes
put file1 'AAAA.BB.CCCCCCCC.XXXXX.DDD'
put file1 "AAAA.BB.CCCCCCCC.XXXXX.DDD"
But the same error showed up.
Any help is much appreciated.