Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. FTP Client connection refused

FTP Client connection refused

Scheduled Pinned Locked Moved C#
sysadminhelp
3 Posts 2 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nickmacon
    wrote on last edited by
    #1

    I have developed an FTP Client and it is being used by several people to download from an FTP Server, via non-secure port 21, then using secure FTP to upload the files to my ftp://FTP. It works on everybody's FTP server, but this one. Every time it goes to download the files, the error log states "Download of info.txt Failed because No connection could be made because the target machine actively refused it." Can any one tell me why the ftp server would refuse the connection. The log file says it connected to the machine. He can also run FTP through the command line and get the file from the FTP server and then upload it to my FTP server. Any ideas or suggestions would be appreciated. Thanks,

    L 1 Reply Last reply
    0
    • N nickmacon

      I have developed an FTP Client and it is being used by several people to download from an FTP Server, via non-secure port 21, then using secure FTP to upload the files to my ftp://FTP. It works on everybody's FTP server, but this one. Every time it goes to download the files, the error log states "Download of info.txt Failed because No connection could be made because the target machine actively refused it." Can any one tell me why the ftp server would refuse the connection. The log file says it connected to the machine. He can also run FTP through the command line and get the file from the FTP server and then upload it to my FTP server. Any ideas or suggestions would be appreciated. Thanks,

      L Offline
      L Offline
      leppie
      wrote on last edited by
      #2

      Maybe you need to specify PASV mode :~

      xacc.ide-0.1.2.6
      New syntax highlight screenshots of xacc.ide

      N 1 Reply Last reply
      0
      • L leppie

        Maybe you need to specify PASV mode :~

        xacc.ide-0.1.2.6
        New syntax highlight screenshots of xacc.ide

        N Offline
        N Offline
        nickmacon
        wrote on last edited by
        #3

        I detect if the connection needs passive mode and if it does it changes it. Thanks,

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups