amersons / swiftp

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

550 invalid name or chroot violation #86

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
550 invalid name or chroot violation

What version of SwiFTP are you using?
1.24

What operating system are you using?
windowss xp

Which FTP client are you using?
total commander 7.04

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

May we contact you by email to ask questions? If so, what is your email
address?
vadimbegun@tut.by

Please provide any additional information below. The more details, the
better.
Belarus

Original issue reported on code.google.com by VadimBe...@gmail.com on 16 Jul 2010 at 7:20

GoogleCodeExporter commented 9 years ago
Same problem here. Nexus One FRF91 ( 2.2 )

Original comment by bboerend...@gmail.com on 19 Jul 2010 at 4:15

GoogleCodeExporter commented 9 years ago
See the thread elsewhere on this site about changing the "stay within 
directory" option. I suggest using "/".

Original comment by Dave.Revell@gmail.com on 19 Jul 2010 at 4:30

GoogleCodeExporter commented 9 years ago
I should clarify more. This is a known bug in SwiFTP that affects Android 2.2 
users. It's related to the option that I mentioned above.

Original comment by Dave.Revell@gmail.com on 19 Jul 2010 at 4:31

GoogleCodeExporter commented 9 years ago
Just change /sdcard to /mnt/sdcard.

This is because android 2.2 mounts the sdcard at /mnt/sdcard, with /sdcard a 
symbolic link to /mnt/sdcard.
So I think when the user tries to go to /sdcard/X, swiftp thinks that the user 
accesses /mnt/sdcard/X which is outside /sdcard.

Original comment by yukuku on 10 Aug 2010 at 3:44

GoogleCodeExporter commented 9 years ago
:-) THANKS! Everything works!

Original comment by VadimBe...@gmail.com on 10 Aug 2010 at 5:52

GoogleCodeExporter commented 9 years ago
Thanks for the solution.
Do you plan to implement a A2.1/2.2 check to set proper content for the setup 
field, so less people get confused? This needs update ASAP to prevent bad 
comments.

Original comment by rayner...@gmail.com on 5 Sep 2010 at 10:38

GoogleCodeExporter commented 9 years ago
So happy to see this.  Just updated to 2.2 with the droid x and I had to do 
this.

Original comment by dve...@gmail.com on 23 Sep 2010 at 5:00

GoogleCodeExporter commented 9 years ago
Cool, everything works now. Had this issue with CM6 on Milestone running Froyo. 
Thanks!

Original comment by zvir...@gmail.com on 3 Dec 2010 at 11:28

GoogleCodeExporter commented 9 years ago
This fixed the problem I was having. I agree with raynerape that there needs to 
be a check for people running 2.1 or 2.2; most people won't bother searching 
for the error and write it off as a bad app, which isn't the case at all.

Original comment by ivte...@gmail.com on 13 Jan 2011 at 7:21

GoogleCodeExporter commented 9 years ago
Works here too. Thanks.

Original comment by atillaa...@gmail.com on 28 Jan 2011 at 6:11

GoogleCodeExporter commented 9 years ago
Thanks, but i think it should be auto changing for 2.2, i almost uninstall. 

Original comment by wherethe...@gmail.com on 1 Feb 2011 at 1:31

GoogleCodeExporter commented 9 years ago
Thanks, but i think it should be auto changing for 2.2, i almost uninstall. 

Original comment by wherethe...@gmail.com on 1 Feb 2011 at 1:31

GoogleCodeExporter commented 9 years ago
thanks

Original comment by pteau...@gmail.com on 17 Mar 2011 at 2:47

GoogleCodeExporter commented 9 years ago
Grt... Even mine working now.. after seeing the solution...
thanks a lot....

Original comment by agarwaln...@gmail.com on 2 Apr 2011 at 10:04

GoogleCodeExporter commented 9 years ago
moto milestone 2 android 2.2
windows 7

Original comment by SearhHer...@gmail.com on 15 Apr 2011 at 2:56

GoogleCodeExporter commented 9 years ago
similar issue, I could see the root directories/files, but couldn't access 
them/write to them, fixed after I changed /sdcard to /mnt/sdcard, this should 
probably be auto-done by the program or have a toast saying to change it to 
/mnt on android 2.1/2.2

(G2 running 2.2)

Original comment by Cristian...@gmail.com on 28 Apr 2011 at 1:43

GoogleCodeExporter commented 9 years ago
"Just change /sdcard to /mnt/sdcard." 

- Thanks, now it works

Original comment by jori.mak...@coveston.fi on 27 May 2011 at 5:35

GoogleCodeExporter commented 9 years ago
I was having nightmares using ES Explorer (when copying over Wifi it deletes 
your source files -.-) then tried SwiFTP. At first I got this 550 error (v1.24, 
Windows 7 PC, HTC Incredible S, Android 2.3) but after changing to /mnt/sdcard 
its working, yes!
Thankyou all.

Original comment by stuart.d...@gmail.com on 2 Jul 2011 at 3:19

GoogleCodeExporter commented 9 years ago
Thanks!

Original comment by Fetts...@gmail.com on 10 Aug 2011 at 12:21

GoogleCodeExporter commented 9 years ago
"Just change /sdcard to /mnt/sdcard." 

Thanks. :-)

Original comment by philippw...@gmail.com on 17 Sep 2011 at 11:24

GoogleCodeExporter commented 9 years ago
Thanks! Works great! :)

Original comment by rssgarfi...@gmail.com on 26 Sep 2011 at 11:32

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
please Mr. Author correct the text to /mnt/sdcard so that no more people will 
have to come here.

Original comment by skynet....@gmail.com on 26 Sep 2011 at 4:36

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
ftp server by Andreas Liebi works straight away everytime

Original comment by leecavtu...@googlemail.com on 10 Oct 2011 at 4:04

GoogleCodeExporter commented 9 years ago
thx for the /mnt/sdcard trick!

Original comment by dalsga...@gmail.com on 8 Jan 2012 at 9:43

GoogleCodeExporter commented 9 years ago
Thanks. :-)

Original comment by cwal110...@gmail.com on 11 May 2012 at 5:14

GoogleCodeExporter commented 9 years ago
I'm using CM9 ICS and changing /sdcard to /mnt/sdcard is not working. Any 
suggestion?

Original comment by Deddy.Ta...@gmail.com on 26 May 2012 at 2:01

GoogleCodeExporter commented 9 years ago
I'm using CM9 ICS and changing /sdcard to /mnt/sdcard IS working.

Original comment by 0chimi...@gmail.com on 13 Jul 2012 at 2:15

GoogleCodeExporter commented 9 years ago
I'm on Android 2.1, and /mnt/sdard/ doesn't exist.  /sdcard/ is an actual 
directory.

I fixed it by simply stopping the server, *closing the app*, disconnecting from 
wifi, waiting a few seconds, reconnecting wifi, and restarting the server.  
It's working now.

If I had to guess, I'd say a bad old connection fouled up something internally 
- I'm using lftp, and was hitting Ctrl-C on it a few times ("mirror" started 
copying large files I didn't want it to) before this error started appearing.  
Resetting everything as described seems to clear whatever it is.

Original comment by Izk...@gmail.com on 29 Apr 2013 at 11:52

GoogleCodeExporter commented 9 years ago
it is working with "/",I'm on android 5.0(nexus 5)

Original comment by J.def...@gmail.com on 25 Nov 2014 at 3:38