Sending file by using FTP

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Magnus Blomberg

    #1

    Sending file by using FTP

    Hello!

    I am developing a C# windows application that should send a file using FTP.
    Does anyone knows how to make my application do this. I haven't found the
    correct object to perform this.
    It should connect, login, upload the file, and then disconnect. If possible
    I also want to add a progress bar to the transfer.

    Any ideas?
    Regards Magnus


  • elleinnad23@gmail.com

    #2
    Re: Sending file by using FTP

    Hello,

    I found some decent source code to do this at:


    Hope it helps.

    Comment

    • Magnus Blomberg

      #3
      Re: Sending file by using FTP

      Hello!

      Thank you, it was very nice source code.

      Unfortunately I've got another problem about this code:

      I made an application for uploading files and it works properly against
      my IIS 6 FTP-site. Unfortunately I now have to use it against another
      FTP-site that doesn't know what PASV is. I then tried to make another
      routine in my code for sending command PUT Xxxx, but I got the error
      message "command not understood".

      Does anyone knows how to solve this?!?!
      Where to find the syntax for my object? :
      Socket(AddressF amily.InterNetw ork, SocketType.Stre am, ProtocolType.Tc p)

      Regards Magnus


      *** Sent via Developersdex http://www.developersdex.com ***
      Don't just participate in USENET...get rewarded for it!

      Comment

      Working...