SynchronizeFolder() Error

Jun 11, 2013 at 2:27 AM
Edited Jun 11, 2013 at 2:28 AM
Hi,

I'm trying to implement SynchronizeFolder() with DropBox.

I've added three patches thus far (2 detailed in https://sharpbox.codeplex.com/workitem/14683). I've also edited the way it handles paths (the local directory and remote one have different standards ('\\' vs '\') and thus the .Remove() function to calculate relative paths overruns!

Now I'm getting a "Couldn't retrieve child elements from the server" exception. Stack trace:
   at AppLimit.CloudComputing.SharpBox.StorageProvider.GenericStorageProvider.GetFileSystemObject(String path, ICloudDirectoryEntry parent) in c:\Users\Leo\Downloads\sharpbox-94877\AppLimit.CloudComputing.SharpBox\StorageProvider\GenericStorageProvider.cs:line 123
   at AppLimit.CloudComputing.SharpBox.CloudStorage.GetFileSystemObject(String name, ICloudDirectoryEntry parent) in c:\Users\Leo\Downloads\sharpbox-94877\AppLimit.CloudComputing.SharpBox\CloudStorage.cs:line 256
   at AppLimit.CloudComputing.SharpBox.CloudStorage.GetFolder(String path, ICloudDirectoryEntry parent) in c:\Users\Leo\Downloads\sharpbox-94877\AppLimit.CloudComputing.SharpBox\CloudStorageComfortFunctions.cs:line 46
   at AppLimit.CloudComputing.SharpBox.CloudStorage.SynchronizeFolder(DirectoryInfo srcFolder, ICloudDirectoryEntry tgtFolder, SyncFolderFlags flags) in c:\Users\Leo\Downloads\sharpbox-94877\AppLimit.CloudComputing.SharpBox\CloudStorageSyncFramework.cs:line 140
   at AppLimit.CloudComputing.SharpBox.CloudStorage.SynchronizeFolder(String srcFolder, String tgtFolder, SyncFolderFlags flags) in c:\Users\Leo\Downloads\sharpbox-94877\AppLimit.CloudComputing.SharpBox\CloudStorageSyncFramework.cs:line 196
And it's an HTTP error. Any ideas or examples of this function implemented successfully?

Thanks so much