NetworkAgent.Post(new CloudUploadAction(accountInfo,info, fileState, accountInfo.BlockSize,
accountInfo.BlockHash));
break;
- case FileStatus.Deleted:
- string fileName = info.AsRelativeUrlTo(accountInfo.AccountPath);
- NetworkAgent.Post(new CloudDeleteAction(accountInfo,fileName, fileState));
+ case FileStatus.Deleted:
+ NetworkAgent.Post(new CloudDeleteAction(accountInfo,info, fileState));
break;
case FileStatus.Renamed:
- NetworkAgent.Post(new CloudMoveAction(accountInfo,CloudActionType.RenameCloud, state.OldFileName,
- state.OldPath, state.FileName, state.Path));
+ NetworkAgent.Post(new CloudMoveAction(accountInfo,CloudActionType.RenameCloud, new FileInfo(state.OldPath),
+ new FileInfo(state.Path)));
break;
}