🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: it.comp.lang.delphi
Article #1

FTP List command

#1
From: Bald0z
Date: Thu, 04 Jul 2002 15:51
20 lines
1783 bytes
** Cross Post !! **
it.comp.lang.delphi; alt.lang.delphi; alt.comp.lang.borland-delphi;
alt.comp.borland-delphi; borland.public.delphi.internet.winsock

Sto facendo un client FTP in Delphi e ho qualche problema con il
parsing della lista inviata dal comando LIST.
Le RFC dell'FTP non parlano di uno standard fisso del comando LIST.

Mi piacerebbe sapere se qualcuno si � mai imbattuto in questo
problema, mi basterebbe avere un elenco di possibili formati del LIST
in modo da poter farli gestire dal mio parser.

Al momento gestisco questi 3 tipi, so che ne esistono altri ma non
sono riuscito a trovarli:
05-04-00  11:57AM       <DIR>          filename
drw-rw-rw-   1 user     group           0 Jun 21 18:43 filename
dr-xr-xr-x   1 owner    group               0 May  4  2000 filename

Grazie,
	Marco
Technical Details
Message-ID: <3d246e88.6841609@news.fastwebnet.it>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-06!supernews.com!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!bnewspeer01.bru.ops.eu.uu.net!emea.uu.net!tornado.fastwebnet.it!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ITALIAN,ASCII
X-Google-Thread: 1036eb,25ff93298ac6eccf,start
X-Google-Attributes: gid1036eb,public
X-Google-ArrivalTime: 2002-07-04 08:58:21 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-06!supernews.com!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!bnewspeer01.bru.ops.eu.uu.net!emea.uu.net!tornado.fastwebnet.it!not-for-mail
From: nospam@thank.you (Bald0z)
Newsgroups: it.comp.lang.delphi;,alt.lang.delphi;,alt.comp.lang.borland-delphi;,alt.comp.borland-delphi;,borland.public.delphi.internet.winsock
Subject: FTP List command
Message-ID: <3d246e88.6841609@news.fastwebnet.it>
X-Newsreader: Forte Free Agent 1.21/32.243
Lines: 20
Date: Thu, 04 Jul 2002 15:51:38 GMT
NNTP-Posting-Host: 1.99.71.12
X-Complaints-To: newsmaster@fastweb.it
X-Trace: tornado.fastwebnet.it 1025797653 1.99.71.12 (Thu, 04 Jul 2002 17:47:33 MET DST)
NNTP-Posting-Date: Thu, 04 Jul 2002 17:47:33 MET DST