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

Unknown SYST 'AIX'

Did you know that AIX is a flavor of Unix?

Poll ended at Fri Mar 19, 2010 8:12 am

Yup
2
100%
Nope
0
No votes
 
Total votes : 2
no avatar
User

javaMike

Posts

6

Joined

Wed Feb 17, 2010 7:28 am

Unknown SYST 'AIX'

by javaMike » Wed Feb 17, 2010 8:12 am

We are getting the following two warnings from FTPFileFactory:

WARN: Unknown SYST 'AIX' - defaulting to Unix parsing
WARN: Could not detect format. Using default UNIX

I noted this post had a similar issue:



The response suggests creating a "custom listing parser". This leads to my first two questions:
1) Would this "custom parser" subclass your FTPFileParser?
2) Is there any documentation to help with doing that? The Javadoc for that class is sparse.

Let me now take a different approach. Based on the coding I see in FTPFileFactory, it looks like only "WINDOWS", "UNIX" and "VMS" are currently understood as O/S name responses to SYST.

However, "AIX" is a flavor of unix. And it seems that defaulting to UNIX parsing worked just fine. One of our vendors changed their servers to AIX six weeks ago. These WARNs are now logging hundreds per day, but things are processing fine. So clearly the existing UnixFileParser() can cope with an AIX flavor of dir listings.

http://en.wikipedia.org/wiki/IBM_AIX

This leads to my next (and most important) question:

3) Would you consider updating your FTPFileFactory to accept "UNIX" -or- "AIX" as a SYST response and then use the UnixFileParser for both?

Thanks.
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: Unknown SYST 'AIX'

by support2 » Wed Feb 17, 2010 11:33 am

Yes, we'll change the parser to accept AIX or UNIX for the Unix format.
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: Unknown SYST 'AIX'

by support2 » Wed Feb 17, 2010 11:39 am

We've now changed the code - next release will have this fix.
no avatar
User

javaMike

Posts

6

Joined

Wed Feb 17, 2010 7:28 am

by javaMike » Wed Feb 17, 2010 11:32 pm

Thanks! You ROCK! :D
no avatar
User

javaMike

Posts

6

Joined

Wed Feb 17, 2010 7:28 am

Re: Unknown SYST 'AIX'

by javaMike » Thu Feb 18, 2010 3:49 am

Do you have any projected date for your next release (of edtFTPj/PRO)?
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: Unknown SYST 'AIX'

by support2 » Thu Feb 18, 2010 7:00 am

It's planned to be in early March. Email us if you want a prerelease to try out.
no avatar
User

javaMike

Posts

6

Joined

Wed Feb 17, 2010 7:28 am

Re: Unknown SYST 'AIX'

by javaMike » Sat Feb 20, 2010 2:28 am

Awesome, that info helps, thank you!

I may have a similar issue to this related to a z/OS SFTP server. We've gotten them to stop sending EBCDIC, but there still seem to be issues with unicode chrs and dir listing parsing. I'm still running down those details and will start a separate thread for that when I have enough info. Any pointers to relevant threads or docs would be appreciated.
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: Unknown SYST 'AIX'

by support2 » Sat Feb 20, 2010 7:38 am

You can set the encoding for both the data channel and the control channel.

Who is online

Users browsing this forum: No registered users and 144 guests

Powered by phpBB ® | phpBB3 Style by KomiDesign
cron