Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
4.6k views
in Java FTP by (170 points)
Good day,

I'm trying to push a file from a Windows server to a Z/OS Host. Before I push the file, I need to determine if the file already exists.

I tried calling the existsFile() method but it doesn't work under MVS.

DEBUG [FTPControlSocket] 17 Jan 2012 14:18:20.118 : ---> SIZE 'ient.s2ien03.test.file1'
DEBUG [FTPControlSocket] 17 Jan 2012 14:18:20.118 : 501 command aborted -- FTP server not configured for SIZE
DEBUG [FTPClient] 17 Jan 2012 14:18:20.118 : SIZE not supported - trying MDTM
DEBUG [FTPControlSocket] 17 Jan 2012 14:18:20.118 : ---> MDTM 'ient.s2ien03.test.file1'
DEBUG [FTPControlSocket] 17 Jan 2012 14:18:20.118 : 501 command aborted -- FTP server not configured for MDTM
DEBUG [FTPClient] 17 Jan 2012 14:18:20.118 : MDTM not supported - trying LIST
DEBUG [FTPControlSocket] 17 Jan 2012 14:18:20.118 : ---> SYST
DEBUG [FTPControlSocket] 17 Jan 2012 14:18:20.133 : 215 MVS is the operating system of this server. FTP Server is running on z/OS.

I was able to locate another thread where this is discussed:

http://www.enterprisedt.com/forums/view ... s&start=15

Is there a recommendation on working around this?

Thanks in advance.

3 Answers

0 votes
by (161k points)
You need an MVS parser for this to work. I'll try to incorporate it this week. Please send support an email so we can send you a build to try.
0 votes
by (170 points)
I've emailed Support.

Thank you!
0 votes
by (161k points)
We sent you a build last Friday to try.

Categories

...