public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] setsockopt SO_DEBUG - ftp connection problems
@ 2011-07-05 11:58 Mick
  2011-07-05 13:48 ` Michael Orlitzky
  2011-07-05 18:42 ` Paul Hartman
  0 siblings, 2 replies; 8+ messages in thread
From: Mick @ 2011-07-05 11:58 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 1718 bytes --]

Hi All,

I am using tnftp to login to a vsFTPd 2.2.2 server:
=========================
Connected to ftp_host.com.
220 (vsFTPd 2.2.2)
ftp_login: user `mick_login' pass `<null>' host `ftp_host.com'
---> USER mick_login
331 Please specify the password.
Password: 
---> PASS XXXX
230 Login successful.
---> SYST
215 UNIX Type: L8
Remote system type is UNIX.
Using binary mode to transfer files.
---> FEAT
211-Features:
 EPRT
 EPSV
 MDTM
 PASV
 REST STREAM
 SIZE
 TVFS
 UTF8
211 End
features[FEAT_FEAT] = 1
features[FEAT_MDTM] = 1
features[FEAT_MLST] = 0
features[FEAT_REST_STREAM] = 1
features[FEAT_SIZE] = 1
features[FEAT_TVFS] = 1
got localcwd as `/home/michael'
---> PWD
257 "/"
got remotecwd as `/'
---> TYPE I
=========================

So far so good, but then I get this response when I try to list stuff:
=========================
ftp> ls
---> TYPE A
200 Switching to ASCII mode.
tnftp: setsockopt SO_DEBUG (ignored): Permission denied
---> EPSV
229 Entering Extended Passive Mode (|||62430|)
229 Entering Extended Passive Mode (|||62430|)
.... 
=========================
it just hangs here until it times out and drops the connection.

Without debug I see this:
=========================
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
200 Switching to Binary mode.
ftp> pwd
Remote directory: /
ftp> ls
229 Entering Extended Passive Mode (|||17721|)
=========================

If I try the same thing with Konqueror there is no problem, I login and 
Konqueror immediately lists the directory contents.  How can I see what 
Konqueror's ftp client sends to and receives from the server?
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-07-05 20:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-05 11:58 [gentoo-user] setsockopt SO_DEBUG - ftp connection problems Mick
2011-07-05 13:48 ` Michael Orlitzky
2011-07-05 15:29   ` Mick
2011-07-05 18:15     ` Michael Orlitzky
2011-07-05 18:42 ` Paul Hartman
2011-07-05 19:34   ` Mick
2011-07-05 19:50     ` Paul Hartman
2011-07-05 20:31       ` Mick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox