Zeze11100 / swiftp

Automatically exported from code.google.com/p/swiftp
0 stars 0 forks source link

Can't connect through Filezilla FTP client (user error?) #65

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.started service
2.configured filezila with appropriate information
3.cannot connect

What is the expected behavior? What do you see instead?

What version of SwiFTP are you using?
1.23

What operating system are you using?
Win 7

Which FTP client are you using?
Filezilla
FileZilla Client
----------------

Version:          3.3.2.1

Build information:
  Compiled for:   i586-pc-mingw32msvc
  Compiled on:    x86_64-unknown-linux-gnu
  Build date:     2010-03-21
  Compiled with:  i586-mingw32msvc-gcc (GCC) 4.2.1-sjlj (mingw32-2)
  Compiler flags: -g -O2 -Wall -g -fexceptions

Linked against:
  wxWidgets:      2.8.11
  GnuTLS:         2.8.3

Which Android device do you have (Nexus, Droid, Hero, G1, etc.)?
Droid, Smoked Glass Rom

May we contact you by email to ask questions? If so, what is your email
address?
yankee39@gmail.com

Please provide any additional information below.

Original issue reported on code.google.com by J.Rosenc...@gmail.com on 28 May 2010 at 8:03

GoogleCodeExporter commented 8 years ago
Could you provide information about error messages? This is pretty vague.

Equally helpful would be the results of running "ftp <IP> <port>" from a 
command line
and pasting the results here.

In particular, I need to know whether the client is even reaching the server, 
or if
there is a networking problem. 

Original comment by Dave.Revell@gmail.com on 6 Jun 2010 at 2:32

GoogleCodeExporter commented 8 years ago
I also had this problem in Vista using username sanddune600 resolved by using
sanddune this could have been your issue

Original comment by krystalj...@gmail.com on 6 Jun 2010 at 5:44

GoogleCodeExporter commented 8 years ago
Yes, version 1.23 has a bug where usernames containing the digit 0 are rejected 
when
trying to log in. We don't know the original poster's username so it's hard to 
know
whether this is the problem.

Original comment by Dave.Revell@gmail.com on 6 Jun 2010 at 5:47

GoogleCodeExporter commented 8 years ago
Bump.. OP please comment? We need to hear about both IP addresses, port 
numbers, and usernames that you're using.

Original comment by Dave.Revell@gmail.com on 26 Jun 2010 at 7:33

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Similar problem here.

Had a 7 character password (which I cannot disclose :S ) and had to replace it 
for a numer-only 6 digit password worked for me. That was v1.24 on android 2.1

Guillermo

Original comment by netnotio...@googlemail.com on 19 Aug 2010 at 9:29

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Here is my connection log. I'm authenticating OK. Some process is timing out 
after the hand shake. See last line. BTW this all works fine using WIFI 
connection vs 3G.

Status: Resolving address of c1.swiftp.org
Status: Connecting to 75.101.148.77:2121...
Status: Connection established, waiting for welcome message...
Response:   220 SwiFTP cloud proxy ready
Command:    USER ********
Response:   331 Send password
Command:    PASS ********
Response:   230 Access granted
Command:    SYST
Response:   215 UNIX Type: L8
Command:    FEAT
Response:   211-Features supported
Response:    UTF8
Response:   211 End
Command:    OPTS UTF8 ON
Response:   200 OPTS accepted
Status: Connected
Status: Retrieving directory listing...
Command:    PWD
Response:   257 "/"
Command:    TYPE I
Response:   200 Binary type set
Command:    PASV
Response:   227 Entering Passive Mode (97,216,138,70,176,153).
Command:    LIST
Response:   425 Error opening data socket
Error:  Failed to retrieve directory listing

Original comment by franky...@gmail.com on 30 Aug 2010 at 10:42

GoogleCodeExporter commented 8 years ago
Hi
Before it was working, now I (htc desire 2.2) get this:
Any help?
thanks, ra

Status: Connecting to 192.168.2.2:2121...
Status: Connection established, waiting for welcome message...
Response:   220 SwiFTP 1.24 ready
Command:    USER ra
Response:   331 Send password
Command:    PASS ******
Response:   230 Access granted
Command:    SYST
Response:   215 UNIX Type: L8
Command:    FEAT
Response:   211-Features supported
Response:    UTF8
Response:   211 End
Command:    OPTS UTF8 ON
Response:   200 OPTS accepted
Status: Connected
Status: Retrieving directory listing...
Command:    PWD
Response:   257 "/"
Command:    TYPE I
Response:   200 Binary type set
Command:    PASV
Response:   227 Entering Passive Mode (192,168,2,2,193,86).
Command:    LIST
Response:   150 Opening BINARY mode data connection for file list
Response:   226 Data transmission OK
Status: Directory listing successful
Status: Retrieving directory listing...
Command:    CWD download
Response:   550 Invalid name or chroot violation
Error:  Failed to retrieve directory listing

Original comment by albuquer...@gmail.com on 29 Oct 2010 at 9:15

GoogleCodeExporter commented 8 years ago
I'm having a similar issue.

I'm running SwiFTP Server 1.24, with settings: port 2121, folder /sdcard, 
accept connections from wifi, and keep phone awake. User is 5-letter word, 
password is 4-letter word.

I'm using Filezilla client, version 2.2.29, login type normal.

From the client, it will show the /sdcard directory. But trying to list a 
subdirectory gives the following message log:

Response:   550 Invalid name or chroot violation
Error:  Could not retrieve directory listing

Hope this helps.

Original comment by stumptow...@gmail.com on 15 Nov 2010 at 5:49

GoogleCodeExporter commented 8 years ago
@Comment 10: your problem seems to be related to bug: 
http://code.google.com/p/swiftp/issues/detail?id=64
Try to set the initial directory on phone to /mnt/sdcard instead.

Original comment by milan...@gmail.com on 27 Dec 2010 at 8:46

GoogleCodeExporter commented 8 years ago
Exactly like described comment no 8: in my case Samsung Galaxy S, Froyo 2.2.

Original comment by milan...@gmail.com on 27 Dec 2010 at 8:52

GoogleCodeExporter commented 8 years ago
Hi,
Any solution to this problem?

Me too facing same issue.
Using Samsung GT5830, Froyo with SwiFTP 1.24

Server running on wifi URL : ftp://192.168.1.2:2121/ (as displayed in the home 
page of SwiFTP

I was trying to connect using Filezilla 3.3.5.1
Here are the logs:
Status: Connecting to 192.168.1.2:2121...
Status: Connection established, waiting for welcome message...
Response:   220 SwiFTP 1.24 ready
Command:    USER ftpuser
Response:   331 Send password
Command:    PASS ********
Response:   230 Access granted
Command:    SYST
Response:   215 UNIX Type: L8
Command:    FEAT
Response:   211-Features supported
Response:    UTF8
Response:   211 End
Command:    OPTS UTF8 ON
Response:   200 OPTS accepted
Status: Connected
Status: Retrieving directory listing...
Command:    PWD
Response:   257 "/"
Command:    TYPE I
Response:   200 Binary type set
Command:    PASV
Response:   227 Entering Passive Mode (192,168,1,2,201,194).
Command:    LIST
Response:   150 Opening BINARY mode data connection for file list
Response:   226 Data transmission OK
Status: Directory listing successful
Status: Connecting to 192.168.1.2:2121...
Status: Connection established, waiting for welcome message...
Response:   220 SwiFTP 1.24 ready
Command:    USER ftpuser
Response:   331 Send password
Command:    PASS ********
Response:   230 Access granted
Command:    OPTS UTF8 ON
Response:   200 OPTS accepted
Status: Connected
Status: Starting upload of C:\Users\Rahul\Downloads\Book2.xlsx
Command:    CWD /
Response:   550 Invalid name or chroot violation
Command:    MKD /
Response:   550 Invalid name or chroot violation
Command:    CWD /
Response:   550 Invalid name or chroot violation
Command:    SIZE /Book2.xlsx
Response:   550 No directory traversal allowed in SIZE param
Command:    MDTM /Book2.xlsx
Response:   502 Command not recognized
Command:    TYPE I
Response:   200 Binary type set
Command:    PASV
Response:   227 Entering Passive Mode (192,168,1,2,190,48).
Command:    STOR /Book2.xlsx
Response:   550 Invalid name or chroot violation
Error:  Critical file transfer error

Original comment by rahulv...@gmail.com on 20 Mar 2011 at 2:52

GoogleCodeExporter commented 8 years ago
>> Try to set the initial directory on phone to /mnt/sdcard instead.

Confirm. It solved my problem. Thanks.

Original comment by kos3...@gmail.com on 14 Feb 2012 at 8:31

GoogleCodeExporter commented 8 years ago
This was sent to me by mistake?

Original comment by tward...@gmail.com on 14 Feb 2012 at 3:18

GoogleCodeExporter commented 8 years ago
I'm experiencing this issue as well.

Connection attempt failed with "ECONNREFUSED - Connection refused by server"

Similar to a previous poster, changing my all alpha 8-character password for an 
all numeric password fixed the issue. Oddly, I never ran into this problem with 
my Nexus S. I am currently using a Galaxy Nexus. However, I do wonder if it may 
be an issue with FileZilla specifically. It went through a few updates since I 
last tried with my old Nexus S.

I am using SwiFTP Server v1.24
FileZilla v3.5.3

Original comment by isthisr...@gmail.com on 6 May 2012 at 9:39

GoogleCodeExporter commented 8 years ago
My computer

Original comment by kfye...@gmail.com on 4 Mar 2014 at 6:42