I am transmitting few files via FTP to a unix server from mainframe. Currently I put the file name that will be used at unix server. Now I am trying the zip the files using PKZIP. When the file is unzipped in unix server the last qualifier of the file is used as file name. Is there a way to change this while zipping so that the file names will remain same as earlier.
Currently I am sending the files via FTP in the following way
put 'mainfram.file.name1' FILE1
put 'mainfram.file.name2' FILE2
Now I want to zip the files and FTP the zip file to server. The server is going to unzip the file and start processing. I am using PKZIP. The problem is when I zip them and when the server unzips it, the files are being saved as NAME1 and NAME2 (Basically the last qualifier of the mainframe file). I want to know if I can mention the file name as FILE1 and FILE2 while zipping so that when the server unzips it, the files get saved as FILE1 and FILE2 only.