cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: FTP directory listing

From: Glen Gunselman <ggunselm_at_emporia.edu>
Date: Tue, 06 Mar 2007 15:51:55 -0600

 
Here's some examples using one of my servers:
 
curl -k -q -v --disable-epsv ftp://esuvm -l --user testacct:samplexx
* About to connect() to esuvm port 21 (#0)
* Trying 164.113.109.74... connected
* Connected to esuvm (164.113.109.74) port 21 (#0)
< 220-FTPSERVE IBM VM Level 320 at ESUVM, 15:40:19 CST TUESDAY 2007-03-06
< 220 Connection will close if idle for more than 5 minutes.
> USER testacct
< 331 Send password please.
> PASS samplexx
< 230 testacct logged in; working directory = testacct 191
> PWD
< 257 "testacct.191" is working directory
* Entry path is 'testacct.191'
> PASV
* Connect data stream passively
^C
 

curl -k -q -v --disable-epsv ftp://esuvm/ -l --user testacct:samplexx
* About to connect() to esuvm port 21 (#0)
* Trying 164.113.109.74... connected
* Connected to esuvm (164.113.109.74) port 21 (#0)
< 220-FTPSERVE IBM VM Level 320 at ESUVM, 15:41:00 CST TUESDAY 2007-03-06
< 220 Connection will close if idle for more than 5 minutes.
> USER testacct
< 331 Send password please.
> PASS samplexx
< 230 testacct logged in; working directory = testacct 191
> PWD
< 257 "testacct.191" is working directory
* Entry path is 'testacct.191'
> PASV
* Connect data stream passively
^C
 

curl -k -q -v --disable-epsv ftp://esuvm/ --user testacct:samplexx
* About to connect() to esuvm port 21 (#0)
* Trying 164.113.109.74... connected
* Connected to esuvm (164.113.109.74) port 21 (#0)
< 220-FTPSERVE IBM VM Level 320 at ESUVM, 15:41:38 CST TUESDAY 2007-03-06
< 220 Connection will close if idle for more than 5 minutes.
> USER testacct
< 331 Send password please.
> PASS samplexx
< 230 testacct logged in; working directory = testacct 191
> PWD
< 257 "testacct.191" is working directory
* Entry path is 'testacct.191'
> PASV
* Connect data stream passively
^C
 
In all three cases the session hangs until timeout. I used --trace and snoop, but I don't see any LIST or NLST command.
 
Thanks for the quick reply,
 
Glen Gunselman
Systems Software Specialist
TCS
Emporia State University
Received on 2007-03-06