Page 1 of 2

TC and VPN

Posted: 2011-06-27, 09:29 UTC
by gwisch
Dear Herr Ghisler,
first of all thanks very much for porting TC to Android. I have been trying file managers on my cellphone (SGSII) like mad till I found the beta and now know that not too far from now my most favorite file manager will also work on my phone.
I especially like that TC does not seem to have a problem with shares located on with Win7 computers in my LAN - something where ES File Explorer crapped itself on a regular basis.
However, it seems that I can't access shared directories using TC over 3G using a VPN (ES FE has no problem there)? TC always wants to turn on the WiFi on the SGS.
Is it my fault or is this a bug or does VPN simply not work yet?

But, no matter what, thanks again for a great piece of software.

Posted: 2011-06-27, 10:13 UTC
by ghisler(Author)
No, it's not your fault, you need to allow access over 3G: Hold your finger on the LAN plugin on the home screen, then allow access over phone connections.

Posted: 2011-06-27, 11:49 UTC
by gwisch
Wow - works like a charm! :lol:

Thanks a lot!

Edit: Sorry, correction - when trying to copy files, the files transfer for about 50 kB and then a read error happens. Not suere where the problem lies, though.

Posted: 2011-06-30, 13:09 UTC
by ghisler(Author)
Hmm, no idea, the copying occurs within the JCIFS library.

Posted: 2011-06-30, 16:13 UTC
by gwisch
Were you able to verify this?
I was copying a directory of between 5 to 8 MB files (MP3s).

Posted: 2011-07-04, 14:06 UTC
by ghisler(Author)
Unfortunately not, sorry. There is no SMB server I could reach over 3G, only in our local area network (WLAN). I just downloaded a 84 MB ISO file and a few smaller PDF files ~500k, and all these files were downloaded completely without any problems.

Posted: 2011-07-04, 14:59 UTC
by gwisch
Ok, thanks, will see whether I can find out the reason.
On a related note: When I interrupt a transfer from a VPN server and then try to access the server again within the next seconds/minutes, I get an error message that the server cannot be reached (the VPN connection is still standing).
Since so far I haven't found a file manager on Android that has the same functional range, I can't test it with another one. Did you receive any other comments that point in the same direction?

Posted: 2011-07-07, 12:42 UTC
by ghisler(Author)
This can happen because servers only allow a limited number of connections per client. When you abort a transfer, the connection may hang, so a new one is needed.

Posted: 2011-07-07, 19:04 UTC
by gwisch
Ok, makes sense, thanks again.

Posted: 2011-07-23, 20:58 UTC
by ZeusII
been doing some testing and for me it's working fine, copied several MB's of images from the phone to the samba server through vpn and 3G without error.


maybe some retry function could be added as vpn connections are not reliable as a wifi connection.


could it be posible to add a speed counter?

Posted: 2011-07-23, 21:38 UTC
by gwisch
Yes, could not reproduce it either.
The problem with the hanging connection persists, though. Can only be solved by rebooting the client - might be an Android issue.

Posted: 2011-08-14, 15:57 UTC
by gwisch
Apologies for coming up with this again, but now I installed 2.3.4 final on my SGS2 and the problem persists - it does not seem to be a hanging connection; even hours after I interrupted the connection I can only get a new connection by rebooting the cellphone. If it was a hanging connection, shouldn't it have timed out by then?

Posted: 2011-08-15, 12:52 UTC
by ghisler(Author)
I found a bug in the used JCIFS library which caused the dreaded "broken pipe" error - maybe it's the same problem in your case too. I will put that in the next beta.

Posted: 2011-08-15, 17:19 UTC
by gwisch
Thanks, I'll wait for the fourth beta then.

Posted: 2011-08-23, 16:49 UTC
by gwisch
Perfect, RC1 solved the problem - thank you!
I can interrupt any transfer, cut the line, start from the beginning - no error messages anymore! :D