Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

howto List hidden DIRs on FTP with IPWOrks ?

0 views
Skip to first unread message

Pascal

unread,
Aug 2, 2001, 2:33:44 PM8/2/01
to
Hello,
iam using the FTP-Client from IPworks .

I list the Contents with : ftp2.Action :=ftplistdirectorylong;

But there are no hidden DIRs diplayed !?

When i use : ftp2.Command := 'LIST';

then the Server Replys :
LIST
150 Opening ASCII mode data connection for /bin/ls.
425 Can't open data connection.

whats wrong ? And how can i list hidden dirs ?

J. Peter Mugaas

unread,
Aug 2, 2001, 7:28:58 PM8/2/01
to
[This followup was posted to borland.public.delphi.internet.winsock and
a copy was sent to the cited author.]

In article <9kc6dm$o3o$07$1...@news.t-online.com>, mc...@gmx.de says...

Because the server might not chose to send them to your client. If the
server does not choose to send it to the client, it will not appear and
this could easily happen irregardless of the FTP component you use.

--
Support the anti-Spam amendment - Join at http://www.cauce.org/
J. Peter Mugaas E-Mail: oma0...@mail.wvnet.edu
http://wvnvm.wvnet.edu/~oma00215/ ICQ Number: 14297043
Finger for PGP Key

Weyert de Boer

unread,
Aug 3, 2001, 6:29:14 AM8/3/01
to
Try.Sending: LIST -al this shold show hidden directories and files.


"J. Peter Mugaas" <oma0...@mail.wvnet.edu> schreef in bericht
news:MPG.15d3ac418...@forums.borland.com...

Greg

unread,
Aug 3, 2001, 3:30:53 PM8/3/01
to
> When i use : ftp2.Command := 'LIST';
>
> then the Server Replys :
> LIST
> 150 Opening ASCII mode data connection for /bin/ls.
> 425 Can't open data connection.
>
> whats wrong ? And how can i list hidden dirs ?

"Can't open data connection." is a server response stating that the
second connection needed with FTP could not be established. You
shouldn't get
anything back frmo the control if the second connection could not be
established. Try actually using the list directory method of the
control and let the control handle sending raw commands to the server.
That way the control knows to make the second 'data' connection.

0 new messages