[twsocket] FTP component

Davie smatters@smatters.com
Fri, 30 Jun 2000 11:08:00 -0500


Hmmm, I've been doing a lot with FTP for a while and I am "perplexed" at your
answer. Please be more specific when you say "look at the response code"??? How
does that tell you if it's a file or folder? What if the link pointed to another
link which then points to another link with then points to a FOLDER!!!!! Using
your method, you would assume it was a file when in fact it was a folder!

Davie

Heedong Lim wrote:

> Hi, there.
> try to CWD command with link and look at the response code.
> BYE!
>
> ----- Original Message -----
> From: "John Meyer" <john_meyer@geocities.com>
> To: <twsocket@elists.org>
> Sent: Friday, June 30, 2000 6:13 PM
> Subject: RE: [twsocket] FTP component
>
> > Okay, that's cool, but is there any surefire way to determine what a
> "link"
> > is--a file or a directory?
> >
> > -----Original Message-----
> > From: twsocket-admin@elists.org [mailto:twsocket-admin@elists.org]On
> > Behalf Of Raptor G
> > Sent: Friday, June 30, 2000 4:12 AM
> > To: twsocket@elists.org
> > Subject: Re: [twsocket] FTP component
> >
> >
> > Use Dir() method or .Dir in pascal and open the resulting file and the
> first
> > byte of the line is 'l' if it's a link, 'd' if it's a directory and '-' if
> > it's a file.
> >
> > I do not know if you will see this ever mail but,....
> >
> > Regards,
> >
> > RaptorG
> >
> >
> > From: "John Meyer" <john_meyer@geocities.com>
> > Reply-To: twsocket@elists.org
> > To: <twsocket@elists.org>
> > Subject: [twsocket] FTP component
> > Date: Thu, 29 Jun 2000 15:53:19 -0600
> >
> > How do you use the FTP component to determine if a "file" is a file or a
> > directory, even if it is a link?
> >
> > John Meyer
> > http://johnmeyer.freeservers.com
> > When I die, I want "Hello, world" carved on my headstone.
> >
> >
> > _______________________________________________
> > TWSocket mailing list [http://elists.org/mailman/listinfo/twsocket]
> > Visit our website at http://www.rtfm.be/fpiette/indexuk.htm
> >
> > ________________________________________________________________________
> > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
> >
> >
> > _______________________________________________
> > TWSocket mailing list [http://elists.org/mailman/listinfo/twsocket]
> > Visit our website at http://www.rtfm.be/fpiette/indexuk.htm
> >
> >
> > _______________________________________________
> > TWSocket mailing list [http://elists.org/mailman/listinfo/twsocket]
> > Visit our website at http://www.rtfm.be/fpiette/indexuk.htm
>
> _______________________________________________
> TWSocket mailing list [http://elists.org/mailman/listinfo/twsocket]
> Visit our website at http://www.rtfm.be/fpiette/indexuk.htm