Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Best FTP settings

    Scheduled Pinned Locked Moved
    Firmware installation
    4
    12
    2.8k
    Loading More Posts
    • 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.
    • Marc Leeundefined
      Marc Lee
      last edited by

      I've got the FTP "working" over USB with the latest Windows DuetDriver Version 1.9. I can see the directories and files on the SD card OK, but trying to do things like delete the /www files and directory is pretty erratic and keeps dropping the FTP connection. I am using the latest version of WINSCP for the FTP (no encryption), so far with mainly default communications settings. Please can someone help me with the recommended FTP settings to get a smooth connection to the Duet SD card.

      1 Reply Last reply Reply Quote 0
      • dc42undefined
        dc42 administrators
        last edited by

        Over USB? How did you manage that?

        Duet WiFi hardware designer and firmware engineer
        Please do not ask me for Duet support via PM or email, use the forum
        http://www.escher3d.com, https://miscsolutions.wordpress.com

        1 Reply Last reply Reply Quote 0
        • Marc Leeundefined
          Marc Lee
          last edited by

          You're right - I thought the FTP was working over the USB but it was actually working over Wifi.
          What are the recommended FTP settings to get a smooth connection to the Duet SD card?

          1 Reply Last reply Reply Quote 0
          • dc42undefined
            dc42 administrators
            last edited by

            The main setting you need is to use only one connection to Port 21 at a time. Some FTP clients default to using a second connection for file uploads, but that won't work with the Duet.

            Duet WiFi hardware designer and firmware engineer
            Please do not ask me for Duet support via PM or email, use the forum
            http://www.escher3d.com, https://miscsolutions.wordpress.com

            1 Reply Last reply Reply Quote 1
            • Marc Leeundefined
              Marc Lee
              last edited by

              What FTP clients are known to work with the Duet Wifi? I can't get WINSCP to work with the Duet Wifi. I'm running Duet Wifi firmware 1.20 and the latest Widows Device Driver files.

              1 Reply Last reply Reply Quote 0
              • Phaedruxundefined
                Phaedrux Moderator
                last edited by

                @Marc:

                What FTP clients are known to work with the Duet Wifi? I can't get WINSCP to work with the Duet Wifi. I'm running Duet Wifi firmware 1.20 and the latest Widows Device Driver files.

                FileZilla

                Z-Bot CoreXY Build | Thingiverse Profile

                1 Reply Last reply Reply Quote 0
                • dc42undefined
                  dc42 administrators
                  last edited by

                  FileZilla is the client that I test with. You need to create an entry in Site Manager for the Duet, and set it to "Max concurrent connections: 1".

                  Duet WiFi hardware designer and firmware engineer
                  Please do not ask me for Duet support via PM or email, use the forum
                  http://www.escher3d.com, https://miscsolutions.wordpress.com

                  1 Reply Last reply Reply Quote 0
                  • Marc Leeundefined
                    Marc Lee
                    last edited by

                    Thanks, I loaded FileZilla. As advised above, I created an entry in Site Manager for the Duet, and set it to "Max concurrent connections: 1" and left the transfer mode set to "default". I'm still getting the kinds of errors as below.

                    What are the settings under the FileZilla general tab that I should be using? Port, protocol, encryption, logon type? And how do I define the FTP "user" name for the logon….do I need to add it into the Duet config.g file or do I just re-use the host name as the FTP user name or do I just leave it blank?

                    Is there a Duet wiki that I am missing that covers all this?

                    Status: Resolving address of marcorexy
                    Status: Connecting to 10.1.1.20:21...
                    Status: Connection established, waiting for welcome message...
                    Status: Insecure server, it does not support FTP over TLS.
                    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 (10,1,1,20,117,27)
                    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

                    1 Reply Last reply Reply Quote 0
                    • Marc Leeundefined
                      Marc Lee
                      last edited by

                      Sorry - the last log had a password error which I fixed. This one lists the main SD directory but bangs out when I try to see inside /www/css. So previous questions in my last post still hold if anyone can please help….

                      Status: Resolving address of marcorexy
                      Status: Connecting to 10.1.1.20:21...
                      Status: Connection established, waiting for welcome message...
                      Status: Server does not support non-ASCII characters.
                      Status: Logged in
                      Status: Retrieving directory listing...
                      Status: Directory listing of "/" successful
                      Status: Retrieving directory listing of "/www/css"...
                      Command: CWD /www/css
                      Response: 250 Directory successfully changed.
                      Command: PWD
                      Response: 257 "/www/css"
                      Command: TYPE I
                      Response: 200 Switching to Binary mode.
                      Command: PASV
                      Response: 227 Entering Passive Mode (10,1,1,20,100,58)
                      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

                      1 Reply Last reply Reply Quote 0
                      • RGN01undefined
                        RGN01
                        last edited by

                        I am having similar issues. Duet WiFi firmware v1.20, FileZilla v3.31.0

                        Status: Connecting to 192.168.0.243:21…
                        Status: Connection established, waiting for welcome message...
                        Response: 220 RepRapFirmware FTP server
                        Command: USER Me
                        Response: 331 Please specify the password.
                        Command: PASS ******
                        Response: 230 Login successful.
                        Command: SYST
                        Response: 215 UNIX Type: L8
                        Command: FEAT
                        Response: 211-Features:
                        Response: PASV
                        Response: 211 End
                        Status: Server does not support non-ASCII characters.
                        Status: Logged in
                        Status: Retrieving directory listing...
                        Status: Directory listing of "/" successful
                        Status: Retrieving directory listing of "/sys"...
                        Status: Directory listing of "/sys" successful
                        Status: Starting download of /sys/config.g
                        Command: PASV
                        Response: 227 Entering Passive Mode (192,168,0,243,248,67)
                        Command: RETR config.g
                        Error: The data connection could not be established: ECONNREFUSED - Connection refused by server
                        Response: 425 Failed to establish connection.
                        Error: File transfer failed
                        Status: Starting download of /sys/config.g
                        Command: PASV
                        Response: 425 Use PASV first.
                        Command: PORT 192,168,0,5,253,23
                        Response: 227 Entering Passive Mode (192,168,0,243,62,47)
                        Command: RETR config.g
                        Response: 425 Failed to establish connection.
                        Error: File transfer failed
                        Status: Starting download of /sys/config.g
                        Command: PASV
                        Response: 500 Unknown command.
                        Command: PORT 192,168,0,5,253,34
                        Response: 425 Use PASV first.
                        Error: File transfer failed

                        I have FileZilla set for passive, 1 connection, no encryption (plain), server type is Default (autodetect), character set is autodetect.

                        I've not yet been able to successfully transfer a file to or from either of my Duets.

                        Richard

                        1 Reply Last reply Reply Quote 0
                        • dc42undefined
                          dc42 administrators
                          last edited by

                          Try firmware 1.21RC3 which includes a fix for some similar FTP issues.

                          Duet WiFi hardware designer and firmware engineer
                          Please do not ask me for Duet support via PM or email, use the forum
                          http://www.escher3d.com, https://miscsolutions.wordpress.com

                          1 Reply Last reply Reply Quote 0
                          • Marc Leeundefined
                            Marc Lee
                            last edited by

                            Thanks for the FileZilla config info Richard…and for confirming that it is probably a bug (and not just me going crazy!) I think I might just have to wait for the 1.21 release launch - when is that likely to be David?

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post
                            Unless otherwise noted, all forum content is licensed under CC-BY-SA