bigfatpaulyj / ftpservmobile

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

Not able to exit #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Connected to mobile (Samsung Corby)
2. read mobile data
3. press exit button on mobile

What is the expected output? What do you see instead?
Exit is not possible and phone hangs

What version of the product are you using? On what operating system?
v1.1

Please provide any additional information below.
Mobile model Samsung GT M5650
The software is promising though.. Thanks for the share.

Original issue reported on code.google.com by prashant...@gmail.com on 4 Sep 2011 at 1:05

GoogleCodeExporter commented 9 years ago
used v.1.1 on a Samsung GT-S 5260 Star and got the same hanging problem

the rest works fine, so it's worth a shot to improve it :)

i just got it to work with the source on windows 7 with netbeans and java ME 
SDK, sadly i'm not that good with threaded programming, but i'll give it a shot 
to fix the exit problem

i will post here again if i got this issue out :)

Original comment by michael....@gmail.com on 18 Feb 2012 at 12:25

GoogleCodeExporter commented 9 years ago
Hi,
Thanks for reporting the bug. But due to lack of time I won't have time to fix 
this. Also I don't actually have a J2ME based phone to test it on anymore :( 

Original comment by paulfeatures@gmail.com on 21 Feb 2012 at 7:11

GoogleCodeExporter commented 9 years ago
loosah@web.de, it would be great if you have time to have a look. If you get it 
working please let us know :)

Original comment by paulfeatures@gmail.com on 21 Feb 2012 at 7:13

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Nice to know that you're still watching this, Paul :)

the issue came due to a thread block in the line

streamConnection = (StreamConnection) ssc.acceptAndOpen();

in the FTPServer.startApp() method

acceptAndOpen opens the ServerSocketConnection and waits for a user to connect, 
you have to force the SSC to close to interrupt it

i already have it fixed, but i'm currently adding a thread manager to allow 
multiple connection threads and am still running in a few problems there ;)

but i got a fully working copy with 1 thread stored in an SVN repository, i'll 
send you the new source + jar file this weekend so you can already upload it 
here :)

thanks a lot for your great work, i'm so happy to have this running as my phone 
supports wlan n-draft and bluetooth 3.0, but who wants bluetooth transfer if he 
has n-draft :D

do you have some information material on your formatListDetails() function in 
DataConnectionThread ? i'm trying to add the lastModified Date and can't get 
the time to be shown

please call me Michael, as i've added myself to the authors you will see it 
anyway ;)

Original comment by michael....@gmail.com on 2 Mar 2012 at 6:37