Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
2.8k views
in Java FTP by (120 points)
I'm wondering how well this software works with the IBM mainframe. I connected to it with the lftp command line program and issued an SYST command and it came back with:

215 MVS is the operating system of this server. FTP Server is running on z/OS.

I'm both uploading and downloading files.

Question 1: I think that the files that I'm downloading are in EBCDIC so if I set the FTPTransferType to ASCII will I get the files in ascii? Or is that the responsibility of the ftp server and not the client?

Question 2: Before uploading I'm issuing the command

quote site file=seq lrecl=130 recfm=fb tracks primary=5 secondary=10 blksize=13000

Presumably this should still work with FTPClient.quote(), right?

Question 3: The remote file name has to be in single quotes; e.g., FTPClient.put("localPath", "'remote.path.x.y.z'"); note that in the remote path there are single quotes inside the double quotes. Presumably this should also work just fine?

The history of my software is that originally I was using Jakarta Apache Commons Net but then our IBM server adopted the requirement for secure connections so at that time I kludged my software to generate its output into /tmp and then I upload it using lftp. I'm rewriting it and would like to get back to doing it all within my java code.

Thanks

Please log in or register to answer this question.

Categories

...