[J-ftp-devel] problem with J-ftp
Brought to you by:
cdemon
|
From: Srinivas V. <va...@so...> - 2003-11-19 09:55:26
|
HI all, I am evaluating J-ftp for different OS environments to use it in my program. it works fine with FTP servers on windows, solaris, HP unix. But i have some problem when i connect to FTP server on IBM OS 390. problem is like this : With J-ftp on windows , i am connecting to a FTP server present on IBM OS 390. i am getting problem in connecting to it. stack trace is pasted below. could you pls tell me how i can fix this bug. i am very thankful, if you can respond to your earliest on this . stackTrace is as follows : > jftp is up and running. > update remote directory > flushing log buffer... > Connecting to gtdev.gtsoftware.com > 220-FTPD1 IBM FTP CS V1R2 at gtdev.gtsoftware.com, 09:25:34 on 2003-11-19. > 220 Connection will close if idle for more than 5 minutes. > Connection established... > > USER SON02 > 331 Send password please. > > PASS **** > 230 SON02 is logged on. Working directory is "SON02.". > Logged in... > > SYST > 215 MVS is the operating system of this server. FTP Server is running on z/OS. > > TYPE I > 200 Representation type is Image > > PWD > 257 "'SON02.'" is working directory. > update remote directory > > MODE S > 200 Data transfer mode is Stream > > TYPE A > 200 Representation type is Ascii NonPrint > > PORT 172,22,11,41,5,2 > 200 Port request OK. > > LIST -laL > Got IOException while trying to open a socket! > Can't connect socket to ServerSocket java.net.SocketTimeoutException: Accept timed out at java.net.PlainSocketImpl.socketAccept(Native Method) at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353) at java.net.ServerSocket.implAccept(ServerSocket.java:439) at java.net.ServerSocket.accept(ServerSocket.java:410) at net.sf.jftp.net.DataConnection.run(DataConnection.java:172) at java.lang.Thread.run(Thread.java:536) > java.lang.NullPointerException > 550 No data sets found. > > TYPE I > 200 Representation type is Image > flushing log buffer... > remote connection initialized > > CWD /'SON02.' > ui locked. regards, SrinivasV ********************************************************************* Disclaimer: The information in this e-mail and any attachments is confidential / privileged. It is intended solely for the addressee or addressees. If you are not the addressee indicated in this message, you may not copy or deliver this message to anyone. In such case, you should destroy this message and kindly notify the sender by reply email. Please advise immediately if you or your employer does not consent to Internet email for messages of this kind. ********************************************************************* |