Hi Jay,
I have a problem in connecting to FTP Server in Passive Mode. Actually
server is behind firewall.
Now can anybody tell me how to connect Server in Active Mode.
I believe there is some mixup with terminology here, since the active mode
is the default for the FTP protocol. You need to specifically tell to the
FTP client to use the passive mode (PASV command).
Here's a link to a web page that talks about the issue:
http://www.filecopa.com/manual/html/principles.html
Once you have mastered how the FTP protocol works (and what you firewall
expects), then I believe it should be easy to program a solution with C#. I
suggest trying first a ready-made FTP client such as WS_FTP. Also make sure
you are not bitten by the possible Network Address Translation (NAT)
problem.
Hope this helps.
--
Regards,
Mr. Jani Järvinen
C# MVP
Helsinki, Finland
ja***@removethis.dystopia.fi http://www.saunalahti.fi/janij/