Filezilla and DuetWiFi FTP



  • I've enabled FTP on my Duets and am now trying to get FileZilla set up so I can backup config files and generally manage the folders remotely.

    FileZilla attaches but I can't transfer files to / from the Duet - I get

    [h]Error: The data connection could not be established: ECONNREFUSED - Connection refused by server[/h]

    If you have FileZilla working, please could you share the setup on FileZilla that allows file transfers?

    Thanks.

    Richard



  • What firmware version are you running? There have been fixes and improvements with 1.20 and also the latest 1.21RC releases.

    Some FTP clients send unsupported commands to the Duet, which could cause issues. I had success with Cyberduck, curl, and wget so far.



  • I'm running v1.20. I'll look at those three but as I use FileZilla for other purposes I'd rather use it for the Duet if I can get it work reliably.

    Richard


  • administrators

    FileZilla is the program that I test FTP with, so it should work even in older firmware versions. Which version are you using?



  • I'm using 3.30.0 FileZilla.

    When I connect to the Duet I get:
    Status: Connecting to 192.168.0.243:21…
    Status: Connection established, waiting for welcome message...
    Status: Server does not support non-ASCII characters.
    Status: Logged in
    Status: Retrieving directory listing...
    Command: PWD
    Response: 257 "/"
    Command: TYPE I
    Response: 200 Switching to Binary mode.
    Command: PASV
    Response: 227 Entering Passive Mode (192,168,0,243,5,91)
    Command: LIST
    Error: The data connection could not be established: ECONNREFUSED - Connection refused by server
    Response: 425 Failed to establish connection.
    Error: Failed to retrieve directory listing



  • @RGN01:

    I'm running v1.20. I'll look at those three but as I use FileZilla for other purposes I'd rather use it for the Duet if I can get it work reliably.

    Richard

    Do you have a range of consecutive ports open in your router that is forwarded to the Duet when you run in passive mode?


  • administrators

    Try firmware 1.21RC1.



  • @Captain_sq:

    @RGN01:

    I'm running v1.20. I'll look at those three but as I use FileZilla for other purposes I'd rather use it for the Duet if I can get it work reliably.

    Richard

    Do you have a range of consecutive ports open in your router that is forwarded to the Duet when you run in passive mode?

    Thanks, Captain_SQ, This is on a LAN so there should be no restrictions.

    Richard



  • @dc42:

    Try firmware 1.21RC1.

    Thanks, David. I'm off on a business trip for the rest of this week so will try that on the weekend. I've checked the https://github.com/dc42/RepRapFirmware/blob/dev/WHATS_NEW.md page but don't see a mention of FTP changes - have there been any specific changes?

    Richard


  • administrators

    It's this one

    Fixed "listen failed" error after repeated use of FTP


 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.