Permalink
Browse files

Added a handler for CURLE_REMOTE_FILE_NOT_FOUND

  • Loading branch information...
1 parent 24f0e96 commit a2f0a4345d114c1c32d578dc91c3f334a4af9781 @nrj committed Jun 14, 2010
Showing with 137 additions and 189 deletions.
  1. +19 −18 objective-curl.xcodeproj/nrj.mode1v3
  2. +112 −170 objective-curl.xcodeproj/nrj.pbxuser
  3. +4 −0 operations/CurlOperation.m
  4. +2 −1 util/S3ErrorParser.m
View
37 objective-curl.xcodeproj/nrj.mode1v3
@@ -280,8 +280,10 @@
<key>PBXSmartGroupTreeModuleOutlineStateSelectionKey</key>
<array>
<array>
- <integer>71</integer>
- <integer>69</integer>
+ <integer>32</integer>
+ <integer>22</integer>
+ <integer>11</integer>
+ <integer>0</integer>
</array>
</array>
<key>PBXSmartGroupTreeModuleOutlineStateVisibleRectKey</key>
@@ -304,7 +306,7 @@
<real>221</real>
</array>
<key>RubberWindowFrame</key>
- <string>402 295 1128 692 0 0 1920 1178 </string>
+ <string>27 437 1128 692 0 0 1920 1178 </string>
</dict>
<key>Module</key>
<string>PBXSmartGroupTreeModule</string>
@@ -322,19 +324,19 @@
<key>PBXProjectModuleGUID</key>
<string>1CE0B20306471E060097A5F4</string>
<key>PBXProjectModuleLabel</key>
- <string>TestController.m</string>
+ <string>CurlOperation.m</string>
<key>PBXSplitModuleInNavigatorKey</key>
<dict>
<key>Split0</key>
<dict>
<key>PBXProjectModuleGUID</key>
<string>1CE0B20406471E060097A5F4</string>
<key>PBXProjectModuleLabel</key>
- <string>TestController.m</string>
+ <string>CurlOperation.m</string>
<key>_historyCapacity</key>
<integer>0</integer>
<key>bookmark</key>
- <string>0BDB4A9F11C55A0000456AE1</string>
+ <string>0BE7C2CC11C5A75B00A25212</string>
<key>history</key>
<array>
<string>0BD102D411BDE372002BC5CC</string>
@@ -353,23 +355,23 @@
<string>0B9CA78211C3ED1B002E05DF</string>
<string>0B9CA7E711C3FB7F002E05DF</string>
<string>0B9CA7E811C3FB7F002E05DF</string>
- <string>0B9CA7E911C3FB7F002E05DF</string>
<string>0B9CA7EA11C3FB7F002E05DF</string>
<string>0B9CA7ED11C3FB7F002E05DF</string>
<string>0B9CA80811C3FBFC002E05DF</string>
<string>0B9CA83611C3FEE8002E05DF</string>
<string>0B9CA8CB11C406E6002E05DF</string>
<string>0B9CA8CE11C406E6002E05DF</string>
<string>0B49C80A11C40F6C00994AE7</string>
- <string>0B0D2BD911C417A500E2371D</string>
- <string>0B17197911C41A7D00818F3A</string>
<string>0B17198A11C41B7B00818F3A</string>
- <string>0B17198B11C41B7B00818F3A</string>
<string>0B17198C11C41B7B00818F3A</string>
<string>0B17198D11C41B7B00818F3A</string>
<string>0B171A3F11C41EC300818F3A</string>
<string>0BDB4A9D11C55A0000456AE1</string>
- <string>0BDB4A9E11C55A0000456AE1</string>
+ <string>0BE4714211C582A5000914CA</string>
+ <string>0BE7C18E11C58EA900A25212</string>
+ <string>0BE7C18F11C58EA900A25212</string>
+ <string>0BE7C2CA11C5A75B00A25212</string>
+ <string>0BE7C2CB11C5A75B00A25212</string>
</array>
</dict>
<key>SplitCount</key>
@@ -383,7 +385,7 @@
<key>Frame</key>
<string>{{0, 0}, {885, 646}}</string>
<key>RubberWindowFrame</key>
- <string>402 295 1128 692 0 0 1920 1178 </string>
+ <string>27 437 1128 692 0 0 1920 1178 </string>
</dict>
<key>Module</key>
<string>PBXNavigatorGroup</string>
@@ -403,7 +405,7 @@
<key>Frame</key>
<string>{{0, 651}, {885, 0}}</string>
<key>RubberWindowFrame</key>
- <string>402 295 1128 692 0 0 1920 1178 </string>
+ <string>27 437 1128 692 0 0 1920 1178 </string>
</dict>
<key>Module</key>
<string>XCDetailModule</string>
@@ -427,9 +429,9 @@
</array>
<key>TableOfContents</key>
<array>
- <string>0BDB4AA011C55A0000456AE1</string>
+ <string>0BE7C2CD11C5A75B00A25212</string>
<string>1CE0B1FE06471DED0097A5F4</string>
- <string>0BDB4AA111C55A0000456AE1</string>
+ <string>0BE7C2CE11C5A75B00A25212</string>
<string>1CE0B20306471E060097A5F4</string>
<string>1CE0B20506471E060097A5F4</string>
</array>
@@ -565,12 +567,11 @@
<integer>5</integer>
<key>WindowOrderList</key>
<array>
- <string>1C530D57069F1CE1000CFCEE</string>
<string>0BD5F72411BDBC6A003119E3</string>
<string>/Users/nrj/Code/Cocoa/objective-curl/objective-curl.xcodeproj</string>
</array>
<key>WindowString</key>
- <string>402 295 1128 692 0 0 1920 1178 </string>
+ <string>27 437 1128 692 0 0 1920 1178 </string>
<key>WindowToolsV3</key>
<array>
<dict>
@@ -647,7 +648,7 @@
<key>TableOfContents</key>
<array>
<string>0BD5F72411BDBC6A003119E3</string>
- <string>0BDB4A8E11C559E300456AE1</string>
+ <string>0BE7C2CF11C5A75B00A25212</string>
<string>1CD0528F0623707200166675</string>
<string>XCMainBuildResultsModuleGUID</string>
</array>
View
282 objective-curl.xcodeproj/nrj.pbxuser
@@ -83,50 +83,44 @@
PBXFileDataSource_Warnings_ColumnID,
);
};
- PBXPerProjectTemplateStateSaveDate = 298146223;
- PBXWorkspaceStateSaveDate = 298146223;
+ PBXPerProjectTemplateStateSaveDate = 298166011;
+ PBXWorkspaceStateSaveDate = 298166011;
};
perUserProjectItems = {
- 0B0D2BD911C417A500E2371D = 0B0D2BD911C417A500E2371D /* PBXTextBookmark */;
- 0B149EFC11BF116C00FB735F = 0B149EFC11BF116C00FB735F /* PBXTextBookmark */;
- 0B149F0511BF12D300FB735F = 0B149F0511BF12D300FB735F /* PBXTextBookmark */;
- 0B149F8911BF1E8400FB735F = 0B149F8911BF1E8400FB735F /* PBXTextBookmark */;
- 0B17197811C41A7D00818F3A = 0B17197811C41A7D00818F3A /* PBXTextBookmark */;
- 0B17197911C41A7D00818F3A = 0B17197911C41A7D00818F3A /* PBXTextBookmark */;
- 0B17198A11C41B7B00818F3A = 0B17198A11C41B7B00818F3A /* PBXTextBookmark */;
- 0B17198B11C41B7B00818F3A = 0B17198B11C41B7B00818F3A /* PBXTextBookmark */;
- 0B17198C11C41B7B00818F3A = 0B17198C11C41B7B00818F3A /* PBXTextBookmark */;
- 0B17198D11C41B7B00818F3A = 0B17198D11C41B7B00818F3A /* PBXTextBookmark */;
- 0B171A3F11C41EC300818F3A = 0B171A3F11C41EC300818F3A /* PBXTextBookmark */;
- 0B171A4111C41EC300818F3A = 0B171A4111C41EC300818F3A /* PBXTextBookmark */;
- 0B49C80A11C40F6C00994AE7 = 0B49C80A11C40F6C00994AE7 /* PBXTextBookmark */;
- 0B9CA66311C29D05002E05DF = 0B9CA66311C29D05002E05DF /* PBXTextBookmark */;
- 0B9CA6BB11C2AF0A002E05DF = 0B9CA6BB11C2AF0A002E05DF /* PBXTextBookmark */;
- 0B9CA6D811C2B029002E05DF = 0B9CA6D811C2B029002E05DF /* PBXTextBookmark */;
- 0B9CA78211C3ED1B002E05DF = 0B9CA78211C3ED1B002E05DF /* PBXTextBookmark */;
- 0B9CA7E711C3FB7F002E05DF = 0B9CA7E711C3FB7F002E05DF /* PBXTextBookmark */;
- 0B9CA7E811C3FB7F002E05DF = 0B9CA7E811C3FB7F002E05DF /* PBXTextBookmark */;
- 0B9CA7E911C3FB7F002E05DF = 0B9CA7E911C3FB7F002E05DF /* PBXTextBookmark */;
- 0B9CA7EA11C3FB7F002E05DF = 0B9CA7EA11C3FB7F002E05DF /* PBXTextBookmark */;
- 0B9CA7ED11C3FB7F002E05DF = 0B9CA7ED11C3FB7F002E05DF /* PBXTextBookmark */;
- 0B9CA80811C3FBFC002E05DF = 0B9CA80811C3FBFC002E05DF /* PBXTextBookmark */;
- 0B9CA83611C3FEE8002E05DF = 0B9CA83611C3FEE8002E05DF /* PBXTextBookmark */;
- 0B9CA8CB11C406E6002E05DF = 0B9CA8CB11C406E6002E05DF /* PBXTextBookmark */;
- 0B9CA8CE11C406E6002E05DF = 0B9CA8CE11C406E6002E05DF /* PBXTextBookmark */;
- 0BD102D411BDE372002BC5CC = 0BD102D411BDE372002BC5CC /* PBXTextBookmark */;
- 0BD1030711BDE5F0002BC5CC = 0BD1030711BDE5F0002BC5CC /* PBXTextBookmark */;
- 0BD1034711BDE8F3002BC5CC = 0BD1034711BDE8F3002BC5CC /* PBXTextBookmark */;
- 0BDA85C611C41ED200BCA6B6 = 0BDA85C611C41ED200BCA6B6 /* PBXTextBookmark */;
- 0BDB4A9011C559E300456AE1 /* PBXTextBookmark */ = 0BDB4A9011C559E300456AE1 /* PBXTextBookmark */;
- 0BDB4A9111C559E300456AE1 /* PBXTextBookmark */ = 0BDB4A9111C559E300456AE1 /* PBXTextBookmark */;
- 0BDB4A9211C559E300456AE1 /* PBXTextBookmark */ = 0BDB4A9211C559E300456AE1 /* PBXTextBookmark */;
+ 0B149EFC11BF116C00FB735F /* PBXTextBookmark */ = 0B149EFC11BF116C00FB735F /* PBXTextBookmark */;
+ 0B149F0511BF12D300FB735F /* PBXTextBookmark */ = 0B149F0511BF12D300FB735F /* PBXTextBookmark */;
+ 0B149F8911BF1E8400FB735F /* PBXTextBookmark */ = 0B149F8911BF1E8400FB735F /* PBXTextBookmark */;
+ 0B17198A11C41B7B00818F3A /* PBXTextBookmark */ = 0B17198A11C41B7B00818F3A /* PBXTextBookmark */;
+ 0B17198C11C41B7B00818F3A /* PBXTextBookmark */ = 0B17198C11C41B7B00818F3A /* PBXTextBookmark */;
+ 0B17198D11C41B7B00818F3A /* PBXTextBookmark */ = 0B17198D11C41B7B00818F3A /* PBXTextBookmark */;
+ 0B171A3F11C41EC300818F3A /* PBXTextBookmark */ = 0B171A3F11C41EC300818F3A /* PBXTextBookmark */;
+ 0B49C80A11C40F6C00994AE7 /* PBXTextBookmark */ = 0B49C80A11C40F6C00994AE7 /* PBXTextBookmark */;
+ 0B9CA66311C29D05002E05DF /* PBXTextBookmark */ = 0B9CA66311C29D05002E05DF /* PBXTextBookmark */;
+ 0B9CA6BB11C2AF0A002E05DF /* PBXTextBookmark */ = 0B9CA6BB11C2AF0A002E05DF /* PBXTextBookmark */;
+ 0B9CA6D811C2B029002E05DF /* PBXTextBookmark */ = 0B9CA6D811C2B029002E05DF /* PBXTextBookmark */;
+ 0B9CA78211C3ED1B002E05DF /* PBXTextBookmark */ = 0B9CA78211C3ED1B002E05DF /* PBXTextBookmark */;
+ 0B9CA7E711C3FB7F002E05DF /* PBXTextBookmark */ = 0B9CA7E711C3FB7F002E05DF /* PBXTextBookmark */;
+ 0B9CA7E811C3FB7F002E05DF /* PBXTextBookmark */ = 0B9CA7E811C3FB7F002E05DF /* PBXTextBookmark */;
+ 0B9CA7EA11C3FB7F002E05DF /* PBXTextBookmark */ = 0B9CA7EA11C3FB7F002E05DF /* PBXTextBookmark */;
+ 0B9CA7ED11C3FB7F002E05DF /* PBXTextBookmark */ = 0B9CA7ED11C3FB7F002E05DF /* PBXTextBookmark */;
+ 0B9CA80811C3FBFC002E05DF /* PBXTextBookmark */ = 0B9CA80811C3FBFC002E05DF /* PBXTextBookmark */;
+ 0B9CA83611C3FEE8002E05DF /* PBXTextBookmark */ = 0B9CA83611C3FEE8002E05DF /* PBXTextBookmark */;
+ 0B9CA8CB11C406E6002E05DF /* PBXTextBookmark */ = 0B9CA8CB11C406E6002E05DF /* PBXTextBookmark */;
+ 0B9CA8CE11C406E6002E05DF /* PBXTextBookmark */ = 0B9CA8CE11C406E6002E05DF /* PBXTextBookmark */;
+ 0BD102D411BDE372002BC5CC /* PBXTextBookmark */ = 0BD102D411BDE372002BC5CC /* PBXTextBookmark */;
+ 0BD1030711BDE5F0002BC5CC /* PBXTextBookmark */ = 0BD1030711BDE5F0002BC5CC /* PBXTextBookmark */;
+ 0BD1034711BDE8F3002BC5CC /* PBXTextBookmark */ = 0BD1034711BDE8F3002BC5CC /* PBXTextBookmark */;
0BDB4A9D11C55A0000456AE1 /* PBXTextBookmark */ = 0BDB4A9D11C55A0000456AE1 /* PBXTextBookmark */;
- 0BDB4A9E11C55A0000456AE1 /* PBXTextBookmark */ = 0BDB4A9E11C55A0000456AE1 /* PBXTextBookmark */;
- 0BDB4A9F11C55A0000456AE1 /* PBXTextBookmark */ = 0BDB4A9F11C55A0000456AE1 /* PBXTextBookmark */;
- 0BDCB0D711C293AE00AD8451 = 0BDCB0D711C293AE00AD8451 /* PBXTextBookmark */;
- 0BDCB0DA11C293AE00AD8451 = 0BDCB0DA11C293AE00AD8451 /* PBXTextBookmark */;
- 0BDCB0F011C2961100AD8451 = 0BDCB0F011C2961100AD8451 /* PBXTextBookmark */;
- 0BEB3EE511C28E4C00719A73 = 0BEB3EE511C28E4C00719A73 /* PBXTextBookmark */;
+ 0BDCB0D711C293AE00AD8451 /* PBXTextBookmark */ = 0BDCB0D711C293AE00AD8451 /* PBXTextBookmark */;
+ 0BDCB0DA11C293AE00AD8451 /* PBXTextBookmark */ = 0BDCB0DA11C293AE00AD8451 /* PBXTextBookmark */;
+ 0BDCB0F011C2961100AD8451 /* PBXTextBookmark */ = 0BDCB0F011C2961100AD8451 /* PBXTextBookmark */;
+ 0BE4714211C582A5000914CA /* PBXTextBookmark */ = 0BE4714211C582A5000914CA /* PBXTextBookmark */;
+ 0BE7C18E11C58EA900A25212 /* PBXTextBookmark */ = 0BE7C18E11C58EA900A25212 /* PBXTextBookmark */;
+ 0BE7C18F11C58EA900A25212 /* PBXTextBookmark */ = 0BE7C18F11C58EA900A25212 /* PBXTextBookmark */;
+ 0BE7C2CA11C5A75B00A25212 /* PBXTextBookmark */ = 0BE7C2CA11C5A75B00A25212 /* PBXTextBookmark */;
+ 0BE7C2CB11C5A75B00A25212 /* PBXTextBookmark */ = 0BE7C2CB11C5A75B00A25212 /* PBXTextBookmark */;
+ 0BE7C2CC11C5A75B00A25212 /* PBXTextBookmark */ = 0BE7C2CC11C5A75B00A25212 /* PBXTextBookmark */;
+ 0BEB3EE511C28E4C00719A73 /* PBXTextBookmark */ = 0BEB3EE511C28E4C00719A73 /* PBXTextBookmark */;
};
sourceControlManager = 0BD5F72811BDBC85003119E3 /* Source Control */;
userBuildSettings = {
@@ -139,16 +133,6 @@
sepNavVisRange = "{0, 970}";
};
};
- 0B0D2BD911C417A500E2371D /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = 0B149E9411BF0BA200FB735F /* S3ListOperation.m */;
- name = "S3ListOperation.m: 170";
- rLen = 26;
- rLoc = 4181;
- rType = 0;
- vrLen = 1070;
- vrLoc = 3793;
- };
0B0D2BEC11C4187C00E2371D /* TestController.m:133 */ = {
isa = PBXFileBreakpoint;
actions = (
@@ -181,6 +165,11 @@
name = S3ListOperation.m;
path = "/Users/nrj/Code/Cocoa/objective-curl/operations/S3ListOperation.m";
sourceTree = "<absolute>";
+ uiCtxt = {
+ sepNavIntBoundsRect = "{{0, 0}, {824, 2704}}";
+ sepNavSelRange = "{4782, 26}";
+ sepNavVisRange = "{3864, 1051}";
+ };
};
0B149EEE11BF114900FB735F /* S3ListOperation.h */ = {
uiCtxt = {
@@ -191,9 +180,9 @@
};
0B149EEF11BF114900FB735F /* S3ListOperation.m */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {824, 2561}}";
- sepNavSelRange = "{3556, 0}";
- sepNavVisRange = "{3341, 1105}";
+ sepNavIntBoundsRect = "{{0, 0}, {1013, 2717}}";
+ sepNavSelRange = "{4385, 0}";
+ sepNavVisRange = "{3864, 1051}";
sepNavWindowFrame = "{{338, 292}, {944, 591}}";
};
};
@@ -227,26 +216,6 @@
vrLen = 925;
vrLoc = 273;
};
- 0B17197811C41A7D00818F3A /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = 0B76053510DF13DB00BE0666 /* TestController.m */;
- name = "TestController.m: 50";
- rLen = 0;
- rLoc = 890;
- rType = 0;
- vrLen = 852;
- vrLoc = 0;
- };
- 0B17197911C41A7D00818F3A /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = 0B80545811A9035600CEA13A /* S3UploadOperation.m */;
- name = "S3UploadOperation.m: 30";
- rLen = 0;
- rLoc = 490;
- rType = 0;
- vrLen = 1109;
- vrLoc = 379;
- };
0B17198A11C41B7B00818F3A /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 0BD3D010110CF5E700478C99 /* UploadOperation.m */;
@@ -257,16 +226,6 @@
vrLen = 1091;
vrLoc = 264;
};
- 0B17198B11C41B7B00818F3A /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = 0B40BA0611AF479E00158EEB /* S3ErrorParser.m */;
- name = "S3ErrorParser.m: 57";
- rLen = 0;
- rLoc = 1307;
- rType = 0;
- vrLen = 656;
- vrLoc = 919;
- };
0B17198C11C41B7B00818F3A /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 0BBF887C10F1D0F8005358BB /* RemoteFolder.h */;
@@ -297,16 +256,6 @@
vrLen = 358;
vrLoc = 0;
};
- 0B171A4111C41EC300818F3A /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = 0B9CA8DD11C408A8002E05DF /* ConnectionDelegate.h */;
- name = "ConnectionDelegate.h: 12";
- rLen = 0;
- rLoc = 157;
- rType = 0;
- vrLen = 371;
- vrLoc = 0;
- };
0B40BA0511AF479E00158EEB /* S3ErrorParser.h */ = {
uiCtxt = {
sepNavIntBoundsRect = "{{0, 0}, {824, 614}}";
@@ -316,9 +265,9 @@
};
0B40BA0611AF479E00158EEB /* S3ErrorParser.m */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {824, 923}}";
- sepNavSelRange = "{1307, 0}";
- sepNavVisRange = "{919, 656}";
+ sepNavIntBoundsRect = "{{0, 0}, {824, 936}}";
+ sepNavSelRange = "{1026, 0}";
+ sepNavVisRange = "{463, 1167}";
};
};
0B49C80A11C40F6C00994AE7 /* PBXTextBookmark */ = {
@@ -383,9 +332,9 @@
};
0B76053510DF13DB00BE0666 /* TestController.m */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {824, 2015}}";
- sepNavSelRange = "{1117, 0}";
- sepNavVisRange = "{902, 1095}";
+ sepNavIntBoundsRect = "{{0, 0}, {1006, 1924}}";
+ sepNavSelRange = "{1378, 0}";
+ sepNavVisRange = "{1108, 1212}";
};
};
0B80542E11A900AA00CEA13A /* CurlS3.h */ = {
@@ -412,9 +361,9 @@
};
0B80545811A9035600CEA13A /* S3UploadOperation.m */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {824, 2080}}";
- sepNavSelRange = "{490, 0}";
- sepNavVisRange = "{379, 1109}";
+ sepNavIntBoundsRect = "{{0, 0}, {824, 2041}}";
+ sepNavSelRange = "{1012, 0}";
+ sepNavVisRange = "{414, 1184}";
sepNavWindowFrame = "{{405, 104}, {951, 738}}";
};
};
@@ -485,16 +434,6 @@
vrLen = 479;
vrLoc = 0;
};
- 0B9CA7E911C3FB7F002E05DF /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = 0BD3CFF1110CF44A00478C99 /* CurlOperation.m */;
- name = "CurlOperation.m: 46";
- rLen = 0;
- rLoc = 585;
- rType = 0;
- vrLen = 1134;
- vrLoc = 442;
- };
0B9CA7EA11C3FB7F002E05DF /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 0BD3D14C110D1D8E00478C99 /* SSHUploadOperation.h */;
@@ -637,9 +576,9 @@
};
0BD3CFF1110CF44A00478C99 /* CurlOperation.m */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {894, 2470}}";
- sepNavSelRange = "{585, 0}";
- sepNavVisRange = "{442, 1134}";
+ sepNavIntBoundsRect = "{{0, 0}, {894, 2223}}";
+ sepNavSelRange = "{1725, 0}";
+ sepNavVisRange = "{1414, 1682}";
};
};
0BD3D00F110CF5E700478C99 /* UploadOperation.h */ = {
@@ -740,43 +679,6 @@
0BD5F71811BDBC66003119E3 /* CurlTester */,
);
};
- 0BDA85C611C41ED200BCA6B6 /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = 0B9CA8DD11C408A8002E05DF /* ConnectionDelegate.h */;
- name = "ConnectionDelegate.h: 12";
- rLen = 0;
- rLoc = 157;
- rType = 0;
- vrLen = 371;
- vrLoc = 0;
- };
- 0BDB4A9011C559E300456AE1 /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = 0B76053510DF13DB00BE0666 /* TestController.m */;
- name = "TestController.m: 76";
- rLen = 0;
- rLoc = 1630;
- rType = 0;
- vrLen = 450;
- vrLoc = 1266;
- };
- 0BDB4A9111C559E300456AE1 /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = 0BD3D14D110D1D8E00478C99 /* SSHUploadOperation.m */;
- rLen = 0;
- rLoc = 2037;
- rType = 0;
- };
- 0BDB4A9211C559E300456AE1 /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = 0BD3D14D110D1D8E00478C99 /* SSHUploadOperation.m */;
- name = "SSHUploadOperation.m: 76";
- rLen = 0;
- rLoc = 2037;
- rType = 0;
- vrLen = 411;
- vrLoc = 1870;
- };
0BDB4A9D11C55A0000456AE1 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 0B9CA8DD11C408A8002E05DF /* ConnectionDelegate.h */;
@@ -787,23 +689,6 @@
vrLen = 371;
vrLoc = 0;
};
- 0BDB4A9E11C55A0000456AE1 /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = 0B76053510DF13DB00BE0666 /* TestController.m */;
- rLen = 5;
- rLoc = 1631;
- rType = 0;
- };
- 0BDB4A9F11C55A0000456AE1 /* PBXTextBookmark */ = {
- isa = PBXTextBookmark;
- fRef = 0B76053510DF13DB00BE0666 /* TestController.m */;
- name = "TestController.m: 63";
- rLen = 0;
- rLoc = 1117;
- rType = 0;
- vrLen = 1095;
- vrLoc = 902;
- };
0BDCB0CB11C292F100AD8451 /* S3DateUtil.h */ = {
uiCtxt = {
sepNavIntBoundsRect = "{{0, 0}, {805, 569}}";
@@ -855,6 +740,63 @@
sepNavVisRange = "{122, 1585}";
};
};
+ 0BE4714211C582A5000914CA /* PBXTextBookmark */ = {
+ isa = PBXTextBookmark;
+ fRef = 0B76053510DF13DB00BE0666 /* TestController.m */;
+ name = "TestController.m: 70";
+ rLen = 0;
+ rLoc = 1378;
+ rType = 0;
+ vrLen = 1212;
+ vrLoc = 1108;
+ };
+ 0BE7C18E11C58EA900A25212 /* PBXTextBookmark */ = {
+ isa = PBXTextBookmark;
+ fRef = 0B40BA0611AF479E00158EEB /* S3ErrorParser.m */;
+ name = "S3ErrorParser.m: 43";
+ rLen = 0;
+ rLoc = 1026;
+ rType = 0;
+ vrLen = 1167;
+ vrLoc = 463;
+ };
+ 0BE7C18F11C58EA900A25212 /* PBXTextBookmark */ = {
+ isa = PBXTextBookmark;
+ fRef = 0B80545811A9035600CEA13A /* S3UploadOperation.m */;
+ name = "S3UploadOperation.m: 50";
+ rLen = 0;
+ rLoc = 1012;
+ rType = 0;
+ vrLen = 1184;
+ vrLoc = 414;
+ };
+ 0BE7C2CA11C5A75B00A25212 /* PBXTextBookmark */ = {
+ isa = PBXTextBookmark;
+ fRef = 0B149E9411BF0BA200FB735F /* S3ListOperation.m */;
+ name = "S3ListOperation.m: 194";
+ rLen = 26;
+ rLoc = 4782;
+ rType = 0;
+ vrLen = 1051;
+ vrLoc = 3864;
+ };
+ 0BE7C2CB11C5A75B00A25212 /* PBXTextBookmark */ = {
+ isa = PBXTextBookmark;
+ fRef = 0BD3CFF1110CF44A00478C99 /* CurlOperation.m */;
+ rLen = 1;
+ rLoc = 50;
+ rType = 1;
+ };
+ 0BE7C2CC11C5A75B00A25212 /* PBXTextBookmark */ = {
+ isa = PBXTextBookmark;
+ fRef = 0BD3CFF1110CF44A00478C99 /* CurlOperation.m */;
+ name = "CurlOperation.m: 83";
+ rLen = 0;
+ rLoc = 1725;
+ rType = 0;
+ vrLen = 1682;
+ vrLoc = 1414;
+ };
0BEB3EE511C28E4C00719A73 /* PBXTextBookmark */ = {
isa = PBXTextBookmark;
fRef = 0B76051410DF131500BE0666 /* CurlFTP.m */;
View
4 operations/CurlOperation.m
@@ -85,6 +85,10 @@ - (NSString *)getFailureDetailsForStatus:(CURLcode)status withObject:(RemoteObje
case CURLE_REMOTE_ACCESS_DENIED:
message = [NSString stringWithFormat:@"Failed writing to directory %@", [object path]];
break;
+
+ case CURLE_REMOTE_FILE_NOT_FOUND:
+ message = [NSString stringWithFormat:@"Remote directory not found %@:%@", [object hostname], [object path]];
+ break;
case CURLE_PARTIAL_FILE:
message = [NSString stringWithFormat:@"Incorrect number of bytes reported by server: %@", [object uri]];
View
3 util/S3ErrorParser.m
@@ -59,7 +59,8 @@ + (NSDictionary *)parseErrorDetails:(NSString *)resp
+ (int)transferStatusForErrorCode:(NSString *)code
{
if ([code isEqualToString:(NSString *)S3SignatureDoesNotMatch] ||
- [code isEqualToString:(NSString *)S3InvalidAccessKeyId]) {
+ [code isEqualToString:(NSString *)S3InvalidAccessKeyId] ||
+ [code isEqualToString:(NSString *)S3AccessDenied]) {
return TRANSFER_STATUS_LOGIN_DENIED;
}

0 comments on commit a2f0a43

Please sign in to comment.