Re: Integrating IIS and FTP using CSharp - help

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Peter Duniho wrote:
Jacob Sandlers wrote:
A friend suggested I can do the following using a c-sharp program. Can someone recommend how?

My goal is to allow our clients to upload large files to our network. I am trying to setup MS FTP server on one of our machines. Is there any way I can map a drive (or something else) from IIS to FTP server? Do I have to write any program/script? I have some familiarity with ASP scripting.

I don't want clients to use FTP as the ports are blocked.

IIS is a server, not a protocol. And there's nothing in your question that seems to actually be specific to C#.

As far as the specific question: most FTP clients support using a specific port rather than the default, and if you don't already have an HTTP server on port 80, you could just run your FTP server on port 80.

Alternatively, you could just allow file uploads over HTTP. There are a number of choices here, which you can learn more about with Google. Here's the first hit I got:
http://www.websupergoo.com/file-upload-1.htm

If you still think there's something C#-specific about your question, I recommend you ask the friend that suggested C# to explain to you why they suggested C#. What is it about C# that they believe directly addresses your question? Is it that you can write ASP.NET applications using C#? If so, you will probably want to ask your question in the ASP.NET-specific newsgroup (where you'll still in any case want to be more specific than you have here).

Pete




Pete,

Thanks for a prompt response. You are right, this is not a C# specific question. However, the person whom I referred earlier told me I can write a program in C#.

In any case, I just found a third-party software that can do this without writing any code and best of all it is free.

Thanks again.
Jacob.

.



Relevant Pages

  • Re: Hacked? External address knocks on internal private address...
    ... The important part of your message is that FTP is allowed out... ... You open a connection to an FTP Server and logon. ... When you ask the server for a file the server issues a "PORT" command ... so it can open a port on the firewall to allow the incoming Data ...
    (comp.security.firewalls)
  • Re: IPSwitch, Inc. WS_FTP Server
    ... > bounce attack as well as PASV connection hijacking. ... > The FTP bounce vulnerability allows a remote attacker to cause the ... > anonymously along with any internal addresses that the FTP server has ... That means it's got to handle a PORT ...
    (Bugtraq)
  • Re: Internet Explorer Keeps Timing out on FTP
    ... > This is a problem with the FTP client. ... When the PORT command is used, the FTP client is asking the FTP server to ...
    (microsoft.public.inetserver.iis.ftp)
  • First time vsftp setup
    ... I am setting up my very first ftp server for my small company and I am wondering if someone with more experience than I could look at my configuration and give me some advice. ... The purpose of my ftp site is to enable our staff and a select group of our clients to exchange very large files back and forth, without the problems associated with emailing large files. ...
    (RedHat)
  • Re: Internet Explorer Keeps Timing out on FTP
    ... >> This is a problem with the FTP client. ... I have not started the FTP server ... > client chooses which method to use, by sending either a PORT or PASV ... > command to the server. ...
    (microsoft.public.inetserver.iis.ftp)