Copy from sharefile failing with "Please wait while we fetch the contents" message

I use robocopy on windows in a command shell to synchronize some directories from Sharefile to a local disk. This is to speed up a local process that reads the files.

 

Lately, the robocopy command has been failing/timing out with the message "Please wait while we fetch the contents" printed in the CMD shell console.

 

What I have tried:

  • Logging out/in of sharefile
  • Problem persisted, so: completely uninstalling and re-installing sharefile
  • Installing all outstanding windows updates and rebooting.j

 

I am able to navigate to these directories/files in Windows Explorer and copy them, but the copy is extremely slow -- less than 2MB/s on a 75MBps link (according to fast.com).

 

I would like to know:

  • other debugging steps I can perform
  • other places to look for sharefile logs
  • anything I can do to fix this problem.

 

Thank you


  • @Harshit Shah​ Thank you for the informatin. I will look into possibly using the API to synchronize certain paths from Sharefile to the local drive. In the meantime I have used "Manage Offline Sync" in Sharefile to make most of the files I need available locally.

    Selected as Best
  • Hello @Andrew Gray​ - Thank you for posting on the forums.

     

    Can you please validate if this error started after updating the ShareFile for Windows application? Usually, "Please wait while we fetch the contents" in your console is due to gateway timeout errors but it's hard to tell without us having logs from your ShareFile application.

     

    Usually, robocopy is not the recommended approach because with mounted cloud drives, deeply nested folders tend to take some time to load. Manual traverse vs. Robocopy has a huge time difference.

     

    You can reach out to us via Support chat. What we'd like to collect is: Application logs and if possible a parity test between different versions to understand the expected behaviour.

  • I have looked at the logs and I have seen "gateway timeout" errors, so that is the root cause, I believe.

    I am not sure which version of sharefile was installed when I first saw this problem, but I ended up uninstalling and re-installing the latest version, I believe: version 26.3.12.0.

     

    I am using robocopy to mirror files from a specific path under sharefile to a local disk. These files are used when running unit tests for an application that we are building, and having these files on the local disk helps performance. Usually these files are modified or added to a couple of times per week so it is important that they are synchronized to the local disk otherwise the tests may fail with a missing or out-of-date file.

     

    It seems like the performance of robocopy has deteriorated in recent weeks -- we have been using this system of mirroring the files for several months without problems, until recently. Do you know of a way to accomplish this mirroring/synchronizing of files to local disk that would perform better/more consistently?

     

    Thank you,

    • Andrew
  • @Andrew Gray​ - My understanding still remains the same if there’s a parity between ShareFile for Windows versions and your folder structure has not changed drastically, we can check it further so please feel free to create a Support ticket.

     

    Rather than cloud mounted drives, I would prefer using API to take local backups. Depending on your usage, I would recommend using our PowerShell module listed here: Backup a ShareFile Account, scripts can also be set to run regularly.

     

    If it’s a particular folder whose backups are taken regularly, I modified the script ShareFile-PowerShell/Samples/DownloadFiles.ps1 at master · sharefile-org/ShareFile-PowerShell · GitHub to meet my use-case. I had tested it in the past so it should work but I cannot share it here or guarantee it’s effectiveness for a production level environment. 

  • @Harshit Shah​ Thank you for the informatin. I will look into possibly using the API to synchronize certain paths from Sharefile to the local drive. In the meantime I have used "Manage Offline Sync" in Sharefile to make most of the files I need available locally.

    Selected as Best
  • Hello @Andrew Gray​ - I am glad you've found a workaround for the time being. Please note that "offline sync"/"offline files" in desktop app, do not actually do a local backup.

     

    On the Windows app, it stores the data in PartCache folder. Uninstalling the app or resetting will delete your offline indicated files. As long as you're aware of the risks, this is a great workaround!

     

    If you ever need more assistance, please feel free to reach out to Support or post in forums.