netcharm / swiftp

Automatically exported from code.google.com/p/swiftp
GNU General Public License v3.0
0 stars 0 forks source link

Should terminate existing client connections on server Stop. #112

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Connections remain active until FTP client is closed on the PC.

What steps will reproduce the problem? Please include as much detail as
possible.
1. start the server, connect with Filezilla
2. stop the server
3. try to start server again
4. ERROR --> error opening port, check your network connection
5. close Filezilla or disconnect from server
6. start the server --> now it works

What is the expected behavior? What do you see instead?
All clients should be force disconnected on server stop; ftp port to be closed.

What version of SwiFTP are you using?
1.24

What operating system are you using?
Win7

Which FTP client are you using?
Filezilla, applies to any client

Which Android device and version do you have (Nexus, Droid, Hero, G1,
etc.)?
Nexus

Original issue reported on code.google.com by i...@behe.st on 18 Sep 2010 at 1:29

GoogleCodeExporter commented 8 years ago
I have a similar problem.  StartServer->StopServer->StartServer fails 
consistently - in my case regardless of if I have a client logging in or not.  
When restarting the server I always get the error "Error opening port, check 
your network connection".

Two two workarounds I've used:

1) Change the port number in the setup.  After that you can start the server 
again (but if you start->stop->start again with this new number, it fails with 
the same error).

2) Kill the program and start it again. This lets you start the server with the 
same old port number (convenient for using saved client settings).

Original comment by sami.hyv...@gmail.com on 14 May 2011 at 7:21