Discussion:
WinInet suitable for server-side use?
(too old to reply)
George V. Reilly
2005-12-05 19:14:07 UTC
Permalink
I know that in the NT4/IIS 4 timeframe, WinInet was not considered
suitable for server-side use. Invoking WinInet from ASP caused all
kinds of problems with concurrency and performance. (Or something like
that. It's been quite a while.) This was the impetus for WinHttp.

I need to download a lot of files over FTP in a C# web service, from a
number of different FTP servers simultaneously. I have a C# wrapper for
WinInet FTP functions. Is this the way to go?

I'm using .NET 1.1, so I can't use the FtpWebRequest class of .NET 2.0.
--
/George V. Reilly, Seattle, WA
Stephen Sulzer
2005-12-05 20:00:02 UTC
Permalink
Hi George,

The rule about not using WinInet in a service still stands--don't use it.
For a robust server-side FTP client, you should write your own
implementation, or find a third-party solution that provides source code.

Regards,
- Stephen

Loading...