List Info

Thread: FTP directory listing




FTP directory listing
country flaguser name
United States
2007-03-06 15:08:26
 
I need to get a listing of the files in the default directory.  The example from the manul shows ending the URL with a /.  I need this in a bash script.  I see the following:
 
curl -q -v ftp://cool.haxx.se/ -l
* About to connect() to cool.haxx.se port 21 (#0)
*   Trying 193.15.23.131... connected
* Connected to cool.haxx.se (193.15.23.131) port 21 (#0)
< 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
< 220-You are user number 1 of 50 allowed.
&lt; 220-Local time is now 21:56. Server port: 21.
< 220-This is a private system - No anonymous login
< 220-IPv6 connections are also welcome on this server.
&lt; 220 You will be disconnected after 15 minutes of inactivity.
> USER anonymous
* FTP response reading failed
* Closing connection #0
curl: (56) FTP response reading failed
curl -q -v ftp://cool.haxx.se/
* About to connect() to cool.haxx.se port 21 (#0)
*&nbsp;  Trying 193.15.23.131... connected
* Connected to cool.haxx.se (193.15.23.131) port 21 (#0)
< 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
< 220-You are user number 1 of 50 allowed.
&lt; 220-Local time is now 21:57. Server port: 21.
< 220-This is a private system - No anonymous login
< 220-IPv6 connections are also welcome on this server.
&lt; 220 You will be disconnected after 15 minutes of inactivity.
> USER anonymous
* FTP response reading failed
* Closing connection #0
curl: (56) FTP response reading failed
 
curl -V
curl 7.16.0 (sparc-sun-solaris2.8) libcurl/7.16.0 OpenSSL/0.9.8d zlib/1.2.3 libidn/0.5.19
Protocols: tftp ftp telnet dict ldap http file https ftps
Features: IDN IPv6 Largefile NTLM SSL libz
&nbsp;
&nbsp;
Am I missing something or does this not work from the command line?
&nbsp;
Thanks,
&nbsp;
&nbsp;
Glen Gunselman
Systems Software Specialist
TCS
Emporia State University
Re: Wildcard and SRV records (too much subdomains)
country flaguser name
Germany
2007-03-06 15:23:25
Hi Peter!


Peter Saint-Andre schrieb:
>> I would support having a MUST for SRV records in
RFC3920bis, so any
>> server supporting RFC3920bis would have to have the
SRV records. But
>> maybe we should keep a SHOULD for supporting the A
fallback for
>> resolving external servers in RFC3920bis for now
for RFC3920
>> compatibility.
> 
> When you say "server" do you mean
implementation or deployment? IIRC,
> SRV support is required for server implementations in
RFC 3920, but in
> general specs don't talk about requirements for
deployment since that's
> out of scope (we can test software for compliance with
a spec, but not a
> deployment -- though in the age of software as a
service, that may be
> outdated thinking).

You are right. I talked about deployments and we should not
make
requirements on things we cannot control.

But still we could make the fallback to A a SHOULD instead
of a MUST.
This would be at least a small step in the right direction.
And we could
encourage implementations to check for the existence of the
SRV record
of the local server on startup. (But that's nothing we
should do in a RFC.)


Matthias

-- 
Matthias Wimmer      Fon +49-700 77 00 77 70
Züricher Str. 243    Fax +49-89 95 89 91 56
81476 München        http://ma.tthias.eu/

_______________________________________________
JAdmin mailing list
JAdminjabber.org
http:/
/mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://ww
w.jabber.org/about/jadminfaq.shtml
_______________________________________________

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )