Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] setsockopt SO_DEBUG - ftp connection problems
Date: Tue, 05 Jul 2011 11:59:36
Message-Id: 201107051258.40620.michaelkintzios@gmail.com
1 Hi All,
2
3 I am using tnftp to login to a vsFTPd 2.2.2 server:
4 =========================
5 Connected to ftp_host.com.
6 220 (vsFTPd 2.2.2)
7 ftp_login: user `mick_login' pass `<null>' host `ftp_host.com'
8 ---> USER mick_login
9 331 Please specify the password.
10 Password:
11 ---> PASS XXXX
12 230 Login successful.
13 ---> SYST
14 215 UNIX Type: L8
15 Remote system type is UNIX.
16 Using binary mode to transfer files.
17 ---> FEAT
18 211-Features:
19 EPRT
20 EPSV
21 MDTM
22 PASV
23 REST STREAM
24 SIZE
25 TVFS
26 UTF8
27 211 End
28 features[FEAT_FEAT] = 1
29 features[FEAT_MDTM] = 1
30 features[FEAT_MLST] = 0
31 features[FEAT_REST_STREAM] = 1
32 features[FEAT_SIZE] = 1
33 features[FEAT_TVFS] = 1
34 got localcwd as `/home/michael'
35 ---> PWD
36 257 "/"
37 got remotecwd as `/'
38 ---> TYPE I
39 =========================
40
41 So far so good, but then I get this response when I try to list stuff:
42 =========================
43 ftp> ls
44 ---> TYPE A
45 200 Switching to ASCII mode.
46 tnftp: setsockopt SO_DEBUG (ignored): Permission denied
47 ---> EPSV
48 229 Entering Extended Passive Mode (|||62430|)
49 229 Entering Extended Passive Mode (|||62430|)
50 ....
51 =========================
52 it just hangs here until it times out and drops the connection.
53
54 Without debug I see this:
55 =========================
56 230 Login successful.
57 Remote system type is UNIX.
58 Using binary mode to transfer files.
59 200 Switching to Binary mode.
60 ftp> pwd
61 Remote directory: /
62 ftp> ls
63 229 Entering Extended Passive Mode (|||17721|)
64 =========================
65
66 If I try the same thing with Konqueror there is no problem, I login and
67 Konqueror immediately lists the directory contents. How can I see what
68 Konqueror's ftp client sends to and receives from the server?
69 --
70 Regards,
71 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] setsockopt SO_DEBUG - ftp connection problems Michael Orlitzky <michael@××××××××.com>
Re: [gentoo-user] setsockopt SO_DEBUG - ftp connection problems Paul Hartman <paul.hartman+gentoo@×××××.com>