Yes, mput did work. I first went on to the mainframe and allocated a PDS. I could then go on the UNIX machine, cd to the direcory with the files and then initiate the FTP to the mainframe. After connecting, i could do a cd command in FTP to the mainframe PDS. That got me into the PDS. I then did the mput *, and that copied all the files into the mainframe PDS. As long as the files have valid mainframe names, it works. I can set the FTP up with options -vin and create a file with the mainframe user, password and the mput * command. The I can run the whole thing from a shell.