• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Upload problem with Google Drive
#1
This has bitten me a couple of times before I found out what is going wrong.

I synch a device to GDrive folder "XXX". Sometimes this fails, e.g. because of network IO errors.
To make sure that I have a "clean" synch folder, I remove the folder XXX, and create a new one, using the web interface.
In MSPro. I run a new synch to folder XXX. Everything goes well. When I run the synch again, it completes without doing anything, just as can be expected.

However, on the Google Drive, folder XXX is empty.

My guess is that MSPro caches (maybe involuntarily) the drive handle of the folder. When the folder is removed, it is moved to trash but the handle stays valid. The newly created folder will get a new handle. Due to the caching, MSPro dutyfully performs the synch... directly into the thrash.

EDIT: My guess is confirmed when I "delete forever" the thrashed folder using the web interface. When I then request MSPro to perform a new synch, it briefly displays a message that it cannot access a specific GDrive handle before showing the folder picker.
Johan
www.johanvromans.nlwww.howsagoin.nlwww.hetgeluidvanseptember.nl
Samsung Galaxy Note 2 (N8010) 10.1", Android 7.1.2 (LineageOS), AirTurn Duo & Digit.
Asus Zenpad (Z300M) 10.1", Android 7.0 (backup).
Samsung A3 (A320FL), Android 8.0 (emergency).
Reply
#2
Thanks Johan - I will add some code to ignore trashed directories if the saved handle happens to point to that.

Mike
Reply
#3
(Unrelated?) Download error:


Attached Files Thumbnail(s)
   
Johan
www.johanvromans.nlwww.howsagoin.nlwww.hetgeluidvanseptember.nl
Samsung Galaxy Note 2 (N8010) 10.1", Android 7.1.2 (LineageOS), AirTurn Duo & Digit.
Asus Zenpad (Z300M) 10.1", Android 7.0 (backup).
Samsung A3 (A320FL), Android 8.0 (emergency).
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2018 MyBB Group.