• 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
johanvromans.nl — hetgeluidvanseptember.nl — mojore.nl -- howsagoin.nl
Samsung Galaxy Note S7FE (T733) 12.4", Android 13.0, AirTurn Duo & Digit (Gigs).
Samsung Galaxy Note S4 (T830) 10.5", Android 10.0 (maintenance and backup).
Samsung A3 (A320FL), Android 8.0.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
johanvromans.nl — hetgeluidvanseptember.nl — mojore.nl -- howsagoin.nl
Samsung Galaxy Note S7FE (T733) 12.4", Android 13.0, AirTurn Duo & Digit (Gigs).
Samsung Galaxy Note S4 (T830) 10.5", Android 10.0 (maintenance and backup).
Samsung A3 (A320FL), Android 8.0.0 (emergency).
Reply




Users browsing this thread:
1 Guest(s)


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