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

java_bear

Posts

3

Joined

Thu Apr 26, 2007 8:53 pm

quit() throws "Connection reset by peer: socket write e

by java_bear » Sun May 16, 2010 1:24 am

I get a socket connection error every now and then (not always) when trying to quit(). I also tried with quitImmediately() and that seems to work.
According to the api documentation, quitImmediately() terminates ongoing transfers. I cannot see that there are any transfers going on, so I consider using quitImmediately() .

* The connection reset exception, is that thrown from quit() if there are any transfers going on?
* Is there any way to check at runtime if there are any transfers in progress?

TIA
java_bear
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: quit() throws "Connection reset by peer: socket wri

by support2 » Mon May 17, 2010 10:49 pm


Who is online

Users browsing this forum: No registered users and 99 guests

Powered by phpBB ® | phpBB3 Style by KomiDesign
cron