Copying a Dropbox folder to a different location doesn't download the files from Dropbox

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
rolander
Posts: 36
Joined: 22 Aug 2022 17:41

Copying a Dropbox folder to a different location doesn't download the files from Dropbox

Post by rolander »

I'm backing up some folders from dropbox and realized that xyplorer is only copying the files that had been already downloaded to my local drive.
On the other hand, when I make the copy the same folder using windows explorer, it starts downloading every file while copying.
I dont think this is normal so I'm posting this on the Bug Reports, but feel free to move this post if this is an expected behavior.

admin
Site Admin
Posts: 66619
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Copying a Dropbox folder to a different location doesn't download the files from Dropbox

Post by admin »

That's a tough one. If this is the expected behavior I'm afraid I cannot replicate it.

rolander
Posts: 36
Joined: 22 Aug 2022 17:41

Re: Copying a Dropbox folder to a different location doesn't download the files from Dropbox

Post by rolander »

Just to make things more clear:

Dropbox has an option to leave the files on the cloud and only download them when you need them (open/copy/move the file).

When i copied a folder containing some files on the cloud and some downloaded to my pc using xyplorer, the new copied folder size was significantly less than the original folder size. Also the copy was really fast (meaning, it only copied the files that had been previously downloaded and hadnt wait for the download to happen).

This happened with every one of the folders in my dropbox (I was making a backup of everything before cancelling my dropbox subscription).
Luckily I realized about this right after deleting those folders. So got them back from dropbox trash and copied them using windows explorer. Witch took for ever because it had to download every file online.

Just in case I´ve tried again using xyplorer, and got the same result as before.

I´m not planning to keep using dropbox, but letting you know in case this is useful to someone else.
Please let me know if there´s some tests or logs you want me to send.

admin
Site Admin
Posts: 66619
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Copying a Dropbox folder to a different location doesn't download the files from Dropbox

Post by admin »

Thanks. I think I understand. But it cannot be done.

rolander
Posts: 36
Joined: 22 Aug 2022 17:41

Re: Copying a Dropbox folder to a different location doesn't download the files from Dropbox

Post by rolander »

3 workarounds that I dont really know if they are possible (im fairly new to xplorer):

1- A way to tag folder (in this case dropbox folder) so it only uses the windows default copy handler?
2- Have a shortcut to bypass xyplorer copy handler (ej: ctrl+alt+v instead of ctrl+v... or ctrl+alt+drag)
3- Create an action in the Catalog so you can easily switch between native and xyplorer copy handlers.

Maybe the 3rd option would be doable?


By the way, let me say that I´ve been using xyplorer for less than a week and I wish I came across it sooner. The amount of possible customization and the Catalog concept and implementation are mind blowing. Congratulations on the amazing work you´ve done here.

admin
Site Admin
Posts: 66619
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Copying a Dropbox folder to a different location doesn't download the files from Dropbox

Post by admin »

Oh, it works when using the Windows default copy handler in XYplorer?

Thank you! :D

rolander
Posts: 36
Joined: 22 Aug 2022 17:41

Re: Copying a Dropbox folder to a different location doesn't download the files from Dropbox

Post by rolander »

Yes disabling the Custom Copy works fine.

I just tried enabling (only copy the already downloaded files) and disabling (download and copied everything).

admin
Site Admin
Posts: 66619
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Copying a Dropbox folder to a different location doesn't download the files from Dropbox

Post by admin »

Here's something that can be used to force shell copy:

Code: Select all

v10.10.0102 - 2011-08-23 12:19
    + Custom Copy: Now you can state a Custom Copy Blacklist containing 
      any number of target paths which shall be excluded from Custom 
      Copy (and automatically use normal Shell Copy instead).
      The data should be provided in a file placed in <xydata> and 
      named "CustomCopyBlacklist.dat". The paths should be listed one 
      per line in any order. All sorts of variables and portable syntax 
      are supported. Here's an example for the contents of the file on 
      64-bit Windows (on 32-bit Windows you would drop the line 
      "%ProgramFiles(x86)%"):
        %ALLUSERSPROFILE%
        %ProgramFiles%
        %ProgramFiles(x86)%
        %WinDir%
      The typical reason for blacklisting folders is that Custom Copy 
      will fail where UAC disallows writing to them, whereas Shell Copy 
      will prompt for elevation.

rolander
Posts: 36
Joined: 22 Aug 2022 17:41

Re: Copying a Dropbox folder to a different location doesn't download the files from Dropbox

Post by rolander »

That looks great!
2 questions regarding this:

1- You recommend to keep the folders that are already in the script, right (in a 64b windows) ? And simply add the dropbox folder there.

2- I'm not completely sure where should i enter this.

2a_ Is this a one time script? So I can run it from scripting/run script once and that's it?

2b_ Should i run this script every time I start xyplorer? in that case, I've read the manual and my guess is that I should create a scriptname.xys and then run from cmd like this: XYplorer.exe /script="path\scriptname.xys". Is that correct?

Thanks again

Horst
Posts: 1400
Joined: 24 Jan 2021 12:27
Location: Germany

Re: Copying a Dropbox folder to a different location doesn't download the files from Dropbox

Post by Horst »

Read again, there is no script :)
As said
The data should be provided in a file placed in <xydata> and named "CustomCopyBlacklist.dat".
Windows 11 Home, Version 25H2 (OS Build 26200.9278)
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1423b (x64), Everything Toolbar 3.2, Listary Pro 7.0.0.9 beta

admin
Site Admin
Posts: 66619
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Copying a Dropbox folder to a different location doesn't download the files from Dropbox

Post by admin »

And yes, I would recommend to add those paths (well, only if you really plan to copy or move those folders) and append a line with your dropbox path at the end. Or simply create that CustomCopyBlacklist.dat with just one line (your dropbox path).

rolander
Posts: 36
Joined: 22 Aug 2022 17:41

Re: Copying a Dropbox folder to a different location doesn't download the files from Dropbox

Post by rolander »

Works perfectly. What a great software.
Thank you both.

Post Reply