{\r
var localFile = fileAgent.GetFileSystemInfo(relativePath);\r
//We don't need to sync directories\r
- if (objectInfo.Content_Type == @"application/directory" && localFile is DirectoryInfo)\r
+ if (objectInfo.IsDirectory && localFile is DirectoryInfo)\r
continue;\r
using (new SessionScope(FlushAction.Never))\r
{\r