[Import]\r
private IStatusKeeper StatusKeeper { get; set; }\r
\r
- \r
public IStatusNotification StatusNotification { get; set; }\r
\r
\r
//Go on and create the directory\r
await client.PutObject(account, cloudFile.Container, cloudFile.Name, fullFileName,\r
String.Empty, "application/directory");\r
+ //If the upload is in response to a Folder create with Selective Sync enabled\r
+ if (action.IsCreation)\r
+ {\r
+ //Add the folder to the Selected URls\r
+ var selections = Selectives.SelectiveUris[accountInfo.AccountKey];\r
+ var selectiveUri = new Uri(client.RootAddressUri, cloudFile.Uri);\r
+ selections.Add(selectiveUri);\r
+ Selectives.Save(accountInfo);\r
+ }\r
}\r
else\r
{\r