Announcement

Collapse
No announcement yet.

Bug with files larger than 32768 bytes over FTPS

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Bug with files larger than 32768 bytes over FTPS

    I am using v3.1.7 pro.

    When I do a text comparison of a pair of files where each is larger than 32768 bytes, the remote file on the FTPS server (implicit ftp, port 990) only shows the first 32,768 bytes.

    This results in Beyond Compare reporting the remote file as missing tons of content. If you copy the file locally, then re-deploy it, you will lose all content beyond the 32k mark.

    Steps to reproduce:

    1) Create a file that is larger than 32k in notepad. I just pasted 1234567890 bunches and bunches of times. I called mine "large.txt".
    2) Use an ftp client to send that file to a remote FTPS server. I used SmartFTP.
    3) Using the same ftp client, download that file again as "large (2).txt" to make sure it's intact and there are no problems with the ftps server itself. Comparing the files locally shows that they are "binary same". BC does fine if the files are local.
    4) Do a file comparison where over the internet, comparing the local "large.txt" to a remote "large.txt" on an Implicit FTPS server.
    5) In the remote view, you see only the first 32768 bytes of large.txt.
    6) If you copy that file from a folder comparison, it will copy only the first 32k of the file, so if you were to deploy it again, it would actually be incomplete on the server and everything after 32k is lost.

    I think I have narrowed this down to it being Beyond Compare, because the ftp server behaves normally with any other file, and still normally with large files over an ftp client like SmartFTP and FileZilla. It just seems like BC is limited to 32k with FTPS?


  • #2
    I'm actually seeing something similar.

    I'm also using BC 3.1.7 Pro to transfer files from a FTPS site. The files I get on my local computer seem to be truncated to the nearest 32,768 bytes.

    In the screenshot, the left side is LOCAL, the right side is FTPS site. These files were already on the FTPS site, I just copied them down using BC -- Binary transfers.

    Notice the file size difference, the files on the left are truncated to the nearest 32,768 bytes.

    5,308,416 = 32,768 * 162
    5,341,184 = 32,768 * 163

    Comment


    • #3
      I've sent messages to both of your contact emails with a link for v3.1.6. Let me know if you don't receive it.
      Zoë P Scooter Software

      Comment


      • #4
        I got the email, and 3.1.6 does not experience the problem. Files over 32k work as expected with this version.

        Comment


        • #5
          Thanks. Can you send/post a log including what I asked about in the email, or at least let us know what FTP software the server is running?
          Zoë P Scooter Software

          Comment


          • #6
            Originally posted by Craig View Post
            Thanks. Can you send/post a log including what I asked about in the email, or at least let us know what FTP software the server is running?
            Yes, I sent the log in an email reply. Relevant line:

            10/28/2009 3:39:47 PM Recv> 220 Serv-U FTP Server v6.4 for WinSock ready...

            Comment


            • #7
              Sorry, I spaced. We got your email; for some reason I thought it was from Rob. Thanks again. We'll get this fixed ASAP.
              Zoë P Scooter Software

              Comment


              • #8
                Originally posted by Craig View Post
                Sorry, I spaced. We got your email; for some reason I thought it was from Rob. Thanks again. We'll get this fixed ASAP.
                Thanks for looking into it. The funny coincidence is that I discovered this issue while I was deploying changes to a web application that addressed issues in a "popular web browser" (IE6).

                So, I feel the same pain.

                Comment


                • #9
                  Any news on a fix for this yet? I think I'm experiencing the same problem.

                  Comment


                  • #10
                    Craig is sick and out of the office. Hopefully he will be back in on Monday and I'll ask him how this is going.
                    Aaron P Scooter Software

                    Comment


                    • #11
                      We should have a fix for this in our next release, BC 3.1.8. If you need a workaround before then, send an email to [email protected] and we'll provide you a download link for the previous version of BC that didn't have this problem.
                      Chris K Scooter Software

                      Comment


                      • #12
                        I didn't find mention of this in the 3.1.8 release notes. Is it resolved in that version?

                        John

                        Comment


                        • #13
                          Looks like we missed it in the changelog. It should be fixed. Let me know if you have any further trouble.
                          Zoë P Scooter Software

                          Comment


                          • #14
                            I was just able to update to 3.1.8 and I'm still seeing this issue. Has anyone else reported still having this issue?

                            Here's the version info for the FTP server I'm connecting to:

                            12/1/2009 9:48:11 AM Recv> 220 (vsFTPd 2.0.5)

                            When a file transfer is truncated, if I retry the file 2 or 3 times, it will usually transfer completely. However, there's at least one file that will not transfer completely no matter how many times I've tried.

                            Comment


                            • #15
                              Is anyone else still seeing this? I'm running BC 3.1.9 now and am still seeing this bug. I saw it in 3.1.8 as well.

                              The FTP server I'm connecting to is reporting the same version as before:

                              1/5/2010 4:26:22 PM Recv> 220 (vsFTPd 2.0.5)

                              Comment

                              Working...
                              X