Re: [twsocket] TIpFtp: suspicious code and other

2010-07-08 Thread Arno Garrels
Anton Sviridov wrote: > I would also like to know how can I attach to the moment of creating > file to write. I want to set Hidden attr to files being downloaded > and clear it on download finish, but I don't know where to place it. > I could make OpenFileStream virtual but it's used in other place

[twsocket] TIpFtp: suspicious code and other

2010-07-08 Thread Anton Sviridov
TCustomFtpCli.DoGetAsync contains lines to open file stream. But as far as I see exactly the same is implemented in CreateLocalFileStream method. Maybe it would be better to call it instead? I would also like to know how can I attach to the moment of creating file to write. I want to set Hidden