File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ class OmrDemo
61
61
/// {
62
62
/// "app_key" : "xxxxx",
63
63
/// "app_sid" : "xxx-xxx-xxx-xxx-xxx",
64
- /// "base_path" : "https://api.aspose.cloud/v1.1 ",
64
+ /// "base_path" : "https://api.aspose.cloud/v3.0 ",
65
65
/// "data_folder" : "Data"
66
66
/// }
67
67
/// Provide your own app_key and app_sid, which you can receive by registering at Aspose Cloud Dashboard (https://dashboard.aspose.cloud/)
@@ -338,7 +338,10 @@ protected void UploadFile(string srcFile, string dstPath)
338
338
using ( FileStream fs = new FileStream ( srcFile , FileMode . Open ) )
339
339
{
340
340
FilesUploadResult response = FileApi . UploadFile ( new UploadFileRequest ( dstPath , fs ) ) ;
341
- Console . WriteLine ( $ "File { dstPath } uploaded successfully with response { response } ") ;
341
+ if ( response . Errors . Count == 0 )
342
+ {
343
+ Console . WriteLine ( $ "File { dstPath } uploaded successfully with response Status: Ok") ;
344
+ }
342
345
}
343
346
}
344
347
You can’t perform that action at this time.
0 commit comments