Fix for FileState.Create constraint violation in StatusAgent.cs
authorpkanavos <pkanavos@gmail.com>
Thu, 26 Apr 2012 18:50:56 +0000 (21:50 +0300)
committerpkanavos <pkanavos@gmail.com>
Thu, 26 Apr 2012 18:50:56 +0000 (21:50 +0300)
commit8f918cb053c87d0178b64e63d5dc72462fdddc18
tree708493c24b4540375c3c7871f7177273b3395588
parenta1d8795a183afdc94da952e561cb4ad1309b0fb3
Fix for FileState.Create constraint violation in StatusAgent.cs
Uploader.cs modified to check if it is possible to upload a new shared file before actually uploading
CloudFilesClient.CanUpload added that checks whether a file can be uploaded in the parent folder of a target object

Closes #2352
trunk/Pithos.Core/Agents/StatusAgent.cs
trunk/Pithos.Core/Agents/Uploader.cs
trunk/Pithos.Network.Test/ObjectInfoTest.cs
trunk/Pithos.Network/CloudFilesClient.cs
trunk/Pithos.Network/RestClient.cs