Re: FTP using Active Mode
- From: "Jani Järvinen [MVP]" <janij@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 23 Mar 2006 17:23:53 +0200
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
janij@xxxxxxxxxxxxxxxxxxxxxx
http://www.saunalahti.fi/janij/
.
- References:
- FTP using Active Mode
- From: Jay
- FTP using Active Mode
- Prev by Date: Confused by namespaces
- Next by Date: Re: Pre Screening Questions for a C# developer
- Previous by thread: FTP using Active Mode
- Next by thread: Best practice for embedding forms
- Index(es):
Relevant Pages
|