| 136 | } |
| 137 | |
| 138 | static void printTemplate() { |
| 139 | printf( |
| 140 | "[default]\n" |
| 141 | "accessid = \"aws access id\"\n" |
| 142 | "secret = \"aws secret\"\n" |
| 143 | "threadnum = 4\n" |
| 144 | "chunksize = 67108864\n" |
| 145 | "low_speed_limit = 10240\n" |
| 146 | "low_speed_time = 60\n" |
| 147 | "encryption = true\n" |
| 148 | "version = 1\n" |
| 149 | "proxy = \"\"\n" |
| 150 | "autocompress = true\n" |
| 151 | "verifycert = true\n" |
| 152 | "server_side_encryption = \"\"\n" |
| 153 | "# gpcheckcloud config\n" |
| 154 | "gpcheckcloud_newline = \"\\n\"\n"); |
| 155 | } |
| 156 | |
| 157 | static void printBucketContents(const ListBucketResult &result) { |
| 158 | char urlbuf[256]; |