aspose file tools
The moose likes Java in General and the fly likes Getting Exception for Java through FTP. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "Getting Exception for Java through FTP." Watch "Getting Exception for Java through FTP." New topic
Author

Getting Exception for Java through FTP.

Rohit Kedia
Ranch Hand

Joined: Apr 24, 2010
Posts: 78


Please help me , on this.

I have been trying for so many days but not able to understand whats the Problem.

Thanks

Sorry if I have put in the wrong section , please guide me.
Alan Hampson
Ranch Hand

Joined: Apr 10, 2009
Posts: 31
You'll get more help if you describe what you're trying to do and show us some code.

Right now all anyone can tell you is what the exception says: your FTP connection closed and didn't tell your program why.

Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 16483
    
    2

When I googled the error message you posted I found dozens of messages like yours on other forums over the last several years. When those messages had answers, they all seemed to suggest that the process of logging in to the server had failed. So, you provide the wrong login information and the server disconnects you. Then you try to continue using the server and you get that message.
Rohit Kedia
Ranch Hand

Joined: Apr 24, 2010
Posts: 78
Hi

I have a Java Application which is running every day.
This program fetches a txt file from FTP in that system and parse the File and archive that file into that FTP Server in that location.

Rohit Kedia
Ranch Hand

Joined: Apr 24, 2010
Posts: 78
Hi ,

Thanks for that but I have tried to login into that Server thorugh Windows FTP I was able to login sucessfully.
Rohit Kedia
Ranch Hand

Joined: Apr 24, 2010
Posts: 78
But it is not working through the Application I dont know why...
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Getting Exception for Java through FTP.
 
Similar Threads
Commons-net FTP and AIX 5.3 FTP Server
Exception at restart(Resuming) the Interrupted file transfer using FTPClient
Help with FTP transfer
Connect to FTP site with Apache commons net FTP client through Proxy
java.net.SocketException: Connection reset