Hi
the error is throwing in the following code line no : 985 in AmazonS3FileSystemContentProvider.cs class
public bool ObjectExists(string path)
{
bool toReturn = false;
string bucket = GetBucketNameFromPath(path);
string key = GetFolderPath(path);
using (ObjectHeadRequest headRequest = new ObjectHeadRequest(bucket, key))
{
try
{
ObjectHeadResponse headResponse = this.service.ObjectHead(headRequest);
toReturn = true;
}
catch
{
//the object does not exists and the server returns 404 error code
}
}
return toReturn;
}
right now we are using Monox 4.5.3200(.NET4.0)
thanks
Ovaj sadržaj još nije ocijenjen.
1176
Reputacija
140
Ukupno objava