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

Possible FTP Upload Problem

Scheduled Pinned Locked Moved Solved
General Discussion
7
29
1.6k
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.
  • undefined
    fcwilt @chrishamm
    last edited by 13 Jun 2022, 14:07

    @chrishamm

    I installed FileZilla Pro and made the settings you mentioned regards number of transfers.

    Doing a upload from FileZilla:

    • I still got empty files on the Duet.
    • Once there was an empty file it could not be overwritten but had to be deleted before the non-empty file could be uploaded.

    I did several tests.

    Hopefully there is a bug that can be found and fixed in the Duet?

    Thanks.

    Frederick

    Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

    undefined 1 Reply Last reply 13 Jun 2022, 16:00 Reply Quote 0
    • undefined
      Phaedrux Moderator @chrishamm
      last edited by 13 Jun 2022, 15:33

      @chrishamm It happens even with the FTP client set to a single file at a time.

      It's a bit insidious, since the file will be created, but it is 0 bytes. So unless you're checking the file size you can miss that there is a problem.

      Z-Bot CoreXY Build | Thingiverse Profile

      1 Reply Last reply Reply Quote 1
      • undefined
        chrishamm administrators @fcwilt
        last edited by 13 Jun 2022, 16:00

        @fcwilt What Duet board are you using?

        Duet software engineer

        undefined 2 Replies Last reply 13 Jun 2022, 16:54 Reply Quote 0
        • undefined
          fcwilt @chrishamm
          last edited by 13 Jun 2022, 16:54

          @chrishamm said in Possible FTP Upload Problem:

          @fcwilt What Duet board are you using?

          I am using a variety: Duet 2 WiFi/Duex 5 combo, Duet 3 Mini 5+ and Duet 3 6HC/3HC combo.

          The Duet 2s are running 3.4.0.

          The Duet 3 Mini 5+ and the Duet 3 6HC/3HC are running 3.4.1

          At the risk of repeating myself, the things I am seeing:

          • files of size 0
          • files of size 0 that could not be updated via FileZilla - they had to be deleted. FileZilla reported no errors.
          • files of truncated size

          To date I have not found any pattern.

          Frederick

          Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

          1 Reply Last reply Reply Quote 0
          • undefined
            Phaedrux Moderator
            last edited by 13 Jun 2022, 17:40

            Uploading these seems to be a good way to provoke it.

            https://forum.duet3d.com/topic/6181/tuning-macros-menus-accel-jerk-retraction-pressure-advance

            Sometimes they look like they are full size files, but on refreshing the directory they are 0 byte.

            Z-Bot CoreXY Build | Thingiverse Profile

            1 Reply Last reply Reply Quote 0
            • undefined
              fcwilt @chrishamm
              last edited by 14 Jun 2022, 13:22

              @chrishamm

              I contacted the developer of the editor I am using that has the FTP client built-in.

              He said it always uses just a single connection and always transfer just one file at a time.

              Frederick

              Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

              undefined 1 Reply Last reply 15 Jun 2022, 13:57 Reply Quote 0
              • undefined
                wschadow
                last edited by wschadow 15 Jun 2022, 13:07

                I use filezilla in many cases But together with teh Duet boards I found that WinSCP is a bit more reliable. I have not looked into details.

                1 Reply Last reply Reply Quote 0
                • undefined
                  chrishamm administrators @fcwilt
                  last edited by 15 Jun 2022, 13:57

                  @fcwilt I could reproduce those problems on a Duet 3 Mini 5+ WiFi and on a MB6HC. For both board types I have firmware fixes ready but I still need to check if the Duet 2 Ethernet is affected, too.

                  Duet software engineer

                  undefined 1 Reply Last reply 15 Jun 2022, 16:01 Reply Quote 3
                  • undefined
                    fcwilt @chrishamm
                    last edited by 15 Jun 2022, 16:01

                    @chrishamm said in Possible FTP Upload Problem:

                    @fcwilt I could reproduce those problems on a Duet 3 Mini 5+ WiFi and on a MB6HC. For both board types I have firmware fixes ready but I still need to check if the Duet 2 Ethernet is affected, too.

                    Would the Duet 2 WiFi also be fixed by the changes for a Duet 2 Ethernet?

                    Frederick

                    Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                    undefined 2 Replies Last reply 16 Jun 2022, 10:01 Reply Quote 0
                    • undefined
                      chrishamm administrators @fcwilt
                      last edited by 16 Jun 2022, 10:01

                      @fcwilt Yes.

                      Duet software engineer

                      undefined 1 Reply Last reply 16 Jun 2022, 11:10 Reply Quote 1
                      • undefined
                        paunboli2 @chrishamm
                        last edited by 16 Jun 2022, 11:10

                        @chrishamm I'm also getting problem with old file explorer

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          chrishamm administrators @fcwilt
                          last edited by 17 Jun 2022, 13:16

                          @fcwilt @Phaedrux @wschadow You can find my updated v3.4.1+1 firmware builds for standalone mode here: https://pkg.duet3d.com/RRF-3.4.1plus1.zip Please let me know if they fix the FTP transfer problems. The issue where uploading config.g resulted in an empty file may be fixed by these builds, too.

                          Duet software engineer

                          undefined undefined 6 Replies Last reply 17 Jun 2022, 15:39 Reply Quote 0
                          • undefined
                            fcwilt @chrishamm
                            last edited by 17 Jun 2022, 15:39

                            @chrishamm said in Possible FTP Upload Problem:

                            @fcwilt @Phaedrux @wschadow You can find my updated v3.4.1+1 firmware builds for standalone mode here: https://pkg.duet3d.com/RRF-3.4.1plus1.zip Please let me know if they fix the FTP transfer problems. The issue where uploading config.g resulted in an empty file may be fixed by these builds, too.

                            I'm out of town for a few days.

                            I will test this new firmware as soon as I return home.

                            Thanks much.

                            Frederick

                            Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                            1 Reply Last reply Reply Quote 0
                            • undefined
                              OwenD @chrishamm
                              last edited by 17 Jun 2022, 22:10

                              @chrishamm
                              I just tried the following using FileZilla set to single connection and transfer limited to 500kb/s
                              On past usage all of these tests gave multiple zero kb files both directions

                              • Bulk upload of all my filaments (25 directories each with 3 files) - OK
                              • Bulk download of same - OK
                              • Bulk download of complete system (700 files in 25 directories) - Only one failed transfer.
                                File was 0/www/css/OnScreenKeyboar
                                It was not 0kb, it failed to transfer. Re-queuing worked.
                                FileZilla didn't give a clear reason why the transfer of that file failed, but as it was reported I would call the test successful.
                              undefined 1 Reply Last reply 20 Jun 2022, 10:53 Reply Quote 2
                              • undefined
                                droftarts administrators @OwenD
                                last edited by 20 Jun 2022, 10:53

                                @owend Was that with @chrishamm's updated firmware?

                                Ian

                                Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                                undefined 1 Reply Last reply 20 Jun 2022, 19:15 Reply Quote 0
                                • undefined
                                  OwenD @droftarts
                                  last edited by 20 Jun 2022, 19:15

                                  @droftarts said in Possible FTP Upload Problem:

                                  @owend Was that with @chrishamm's updated firmware?

                                  Yes, it was.

                                  1 Reply Last reply Reply Quote 0
                                  • undefined
                                    fcwilt @chrishamm
                                    last edited by 27 Jun 2022, 15:24

                                    @chrishamm

                                    I finally returned home and tested the new FTP code.

                                    On all of my printers (two Duet 2 WiFi, one 6HC and one Mini 5):

                                    • I was able to download all of the files from the SYS folder via my FTP client
                                    • I was able to upload all of the files to the SYS folder via my FTP client

                                    No sign of file loss or truncation.

                                    I will now continue with my normal activities using FTP and see if I encounter any problems.

                                    Frederick

                                    Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                                    1 Reply Last reply Reply Quote 2
                                    • undefined
                                      fcwilt @chrishamm
                                      last edited by 29 Jun 2022, 03:20

                                      @chrishamm

                                      I have returned to using my favorite editor in, for lack of a official term, FTP mode, where files are automatically download/uploaded as they are opened for editing and then saved when editing is done.

                                      So far it seems to be working fine - though I have been keeping my fingers crossed.

                                      JOOC what was it that you found and seem to have fixed?

                                      Frederick

                                      Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                                      undefined 1 Reply Last reply 29 Jun 2022, 09:28 Reply Quote 0
                                      • undefined
                                        chrishamm administrators @fcwilt
                                        last edited by 29 Jun 2022, 09:28

                                        @fcwilt Thanks for confirming. All the network responders in RRF could ignore incoming data when a transfer had finished before incoming data was actually processed. So sometimes files could be truncated or when transfers timed out, the opened file would remain empty. It may also fix the issue some users had where config.g could be empty after uploading.

                                        Duet software engineer

                                        undefined 1 Reply Last reply 29 Jun 2022, 13:03 Reply Quote 1
                                        • undefined
                                          fcwilt @chrishamm
                                          last edited by 29 Jun 2022, 13:03

                                          @chrishamm said in Possible FTP Upload Problem:

                                          @fcwilt Thanks for confirming. All the network responders in RRF could ignore incoming data when a transfer had finished before incoming data was actually processed. So sometimes files could be truncated or when transfers timed out, the opened file would remain empty. It may also fix the issue some users had where config.g could be empty after uploading.

                                          Thanks for the feedback.

                                          I will alert you if I have any problems.

                                          Frederick

                                          Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

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