Waht you can do to customize the directory listing is to derive your own 
component from TFtpServer and override BuildDirectory procedure to make it 
generate what you like as you like.

Just for testing, you may modify the component source code directly but in 
the long term this is not good: you'll have to apply your change as each new 
ICS version is out. Much better to derive and override. That's what OOP is 
all about.

--
Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
http://www.overbyte.be


----- Original Message ----- 
From: "Scott" <[EMAIL PROTECTED]>
To: "'ICS support mailing'" <[email protected]>
Sent: Wednesday, November 09, 2005 6:17 PM
Subject: Re: [twsocket] Hidden Files...


> Hi,
>
> Thanks for the pointer, but I can only see how to add things to a
> directory listing by looking at the source code. I cannot see how to
> remove things, or how to determine if a file has the hidden attribute
> set. My apologies for being dense :) I would be eternally grateful for a
> snippet or something to show how I could accomplish this. TIA.
>
> Regards,
> Scott
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> On Behalf Of Francois PIETTE
> Sent: 08 November 2005 19:16
> To: ICS support mailing
> Subject: Re: [twsocket] Hidden Files...
>
>> I'm pretty new to ICS, and I'm trying to make a simple FTP Server
> based
>> around the Demo. One thing I can't figure out is how to _not_ show
>> hidden files from being listed by an FTP client. I wonder if anyone
>> could give me an idea on how to accomplish this? TIA.
>
> Have a look at the source code: TFtpServer.BuildDirectory
>
> --
> Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
> --
> [EMAIL PROTECTED]
> http://www.overbyte.be
>
>
> -- 
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be
>
> -- 
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be 

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to