Author Topic: Copy from OneDrive  (Read 13707 times)

Garry

  • Newbie
  • *
  • Posts: 3
    • View Profile
Copy from OneDrive
« on: December 28, 2014, 23:56:24 »
Hello everyone!

I encountered a problem when trying to copy files from OneDrive via F5 key.
The file is copied with a zero size and I get an error 1920.
I attach the log:
2014-12-29 08:44:34.787 File operations log started.
2014-12-29 08:44:44.370 Error - Unable to open source file : "C:\Users\igor\OneDrive\1С\_Загрузки\Конфигурации\ЗУП\HRM82_2.5.28.1_updsetup.exe" (Error : 4000), (Internal Error Code : 1920
2014-12-29 08:44:44.370 File Operations error : 4000 (1920) -
2014-12-29 08:44:53.535 Current file size not same as expected file size - File : "C:\1C\HRM82_2.5.28.1_updsetup.exe", Current Size : 0 - Expected Size : 3013698
2014-12-29 08:44:53.539 File Operations error : 165 (0) - File operation aborted. File might be incomplete
2014-12-29 08:47:40.608 File operations log started.

Please help in solving this problem.

wbr

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4416
    • View Profile
    • Multi Commander
Re: Copy from OneDrive
« Reply #1 on: December 29, 2014, 08:21:35 »
Are you sure the file really exists ?

On Win8/8.1 a lot of onedrive files are not there even if they are listed.. The OS creates fake special placeholder files on the filesystem.
If the file is only a placeholder file you need to tell onedrive to sync the file first. because the file do not exists on the computer.

If you right click clicking on a place holder file/folder you have "Make available offline" this will tell onedrive to sync that file/folder instead of having a fake file placeholder file
« Last Edit: December 29, 2014, 08:29:07 by Mathias (Author) »

Garry

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Copy from OneDrive
« Reply #2 on: December 29, 2014, 09:51:58 »
Thanks for the reply.
Yes, that's right - the file is in the "Available only online" state.
When you copy this file in Windows Explorer occurs first download the file and then copy itself. This eliminates the need to perform additional steps when you copy, you just need to wait for download.
I assumed that Multi Commander will do the same, but i see that my assumption was wrong.

Is it possible to add the same behavior in future versions?

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4416
    • View Profile
    • Multi Commander
Re: Copy from OneDrive
« Reply #3 on: December 29, 2014, 12:23:58 »
No. But I have already added a better error/warning message for the next version.
Problem is that Microsoft have not made an public API for making files available offline. And I do not think they will since this has change again in Windows 10.
Placeholder files are gone in Win10. (It was to confusing for too many users)

Garry

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Copy from OneDrive
« Reply #4 on: December 29, 2014, 21:59:44 »
Thank you, the situation is clear to me.