Discuss (FTP) and (SFTP, FTPS and SCP), our Java file transfer clients.
no avatar
User

lew

Posts

2

Joined

Wed Jan 18, 2012 5:09 am

FTPClient.existsFile() under Z/OS (MVS Host).

by lew » Wed Jan 18, 2012 5:40 am

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.
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: FTPClient.existsFile() under Z/OS (MVS Host).

by support2 » Wed Jan 18, 2012 9:38 pm

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.
no avatar
User

lew

Posts

2

Joined

Wed Jan 18, 2012 5:09 am

by lew » Wed Jan 18, 2012 11:42 pm

I've emailed Support.

Thank you!
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

by support2 » Tue Jan 24, 2012 7:33 am

We sent you a build last Friday to try.

Who is online

Users browsing this forum: No registered users and 124 guests

Powered by phpBB ® | phpBB3 Style by KomiDesign
cron