"dinoo" <di***@discussions.microsoft.comwrote in message
news:52**********************************@microsof t.com...
I am converting an vb application to c#. The existing application connects
to the mainframe server using FTP and downloads a file (dataset).
Is it possible in .NET to avoid FTP and use any providers to connect to
the
mainframe server and download a file.
I would appreciate if someone can give a reference to a link or code.
Depending on what sort of mainframe it is, you *might* be able to use Host
Integration Server:
http://www.microsoft.com/hiserver/default.mspx
You mention that the file you need is a dataset - does that imply that it's
being fetched from a mainframe database? If so, you may be able to query it
(almost) directly with ADO.NET and maybe some middleware.
If you supply a bit more information about the mainframe and or RDBMS,
you'll get a much better response.
However, I'd say that FTP will almost certainly be the simplest solution,
especially as FTP support is provided natively in v2 of the .NET Framework.
Is there any particular reason that you don't want to use FTP...?