|
153 | 153 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Uploads the specified file to the container. <a href="#a3857f84faa9608b0bf0a4e84ba5b1566"></a><br/></td></tr> |
154 | 154 | <tr><td class="memItemLeft" align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="classpyrax_1_1cf__wrapper_1_1client_1_1CFClient.html#a1d81cba43ddabd40e412c5d709192958">upload_folder</a></td></tr> |
155 | 155 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Convenience method for uploading an entire folder, including any sub-folders, to Cloud Files. <a href="#a1d81cba43ddabd40e412c5d709192958"></a><br/></td></tr> |
| 156 | +<tr><td class="memItemLeft" align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="classpyrax_1_1cf__wrapper_1_1client_1_1CFClient.html#af2b0d6de7b4f7cb42d5ecef34b239907">sync_folder_to_container</a></td></tr> |
| 157 | +<tr><td class="mdescLeft"> </td><td class="mdescRight">Compares the contents of the specified folder, and checks to make sure that the corresponding object is present in the specified container. <a href="#af2b0d6de7b4f7cb42d5ecef34b239907"></a><br/></td></tr> |
156 | 158 | <tr><td class="memItemLeft" align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="classpyrax_1_1cf__wrapper_1_1client_1_1CFClient.html#a537487e2f2dabc8103e2006739cbeb0e">get_uploaded</a></td></tr> |
157 | 159 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the number of bytes uploaded for the specified process. <a href="#a537487e2f2dabc8103e2006739cbeb0e"></a><br/></td></tr> |
158 | 160 | <tr><td class="memItemLeft" align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="classpyrax_1_1cf__wrapper_1_1client_1_1CFClient.html#a621a0e61fdb17290b5e9f5dec5eb12fc">cancel_folder_upload</a></td></tr> |
|
1535 | 1537 |
|
1536 | 1538 | <p>Creates a new object in the specified container, and populates it with the given data. </p> |
1537 | 1539 |
|
| 1540 | +</div> |
| 1541 | +</div> |
| 1542 | +<a class="anchor" id="af2b0d6de7b4f7cb42d5ecef34b239907"></a><!-- doxytag: member="pyrax::cf_wrapper::client::CFClient::sync_folder_to_container" ref="af2b0d6de7b4f7cb42d5ecef34b239907" args="" --> |
| 1543 | +<div class="memitem"> |
| 1544 | +<div class="memproto"> |
| 1545 | + <table class="memname"> |
| 1546 | + <tr> |
| 1547 | + <td class="memname">def <a class="el" href="classpyrax_1_1cf__wrapper_1_1client_1_1CFClient.html#af2b0d6de7b4f7cb42d5ecef34b239907">sync_folder_to_container</a> </td> |
| 1548 | + <td>(</td> |
| 1549 | + <td class="paramtype"> </td> |
| 1550 | + <td class="paramname"><em>self</em>, </td> |
| 1551 | + </tr> |
| 1552 | + <tr> |
| 1553 | + <td class="paramkey"></td> |
| 1554 | + <td></td> |
| 1555 | + <td class="paramtype"> </td> |
| 1556 | + <td class="paramname"><em>folder_path</em>, </td> |
| 1557 | + </tr> |
| 1558 | + <tr> |
| 1559 | + <td class="paramkey"></td> |
| 1560 | + <td></td> |
| 1561 | + <td class="paramtype"> </td> |
| 1562 | + <td class="paramname"><em>container</em>, </td> |
| 1563 | + </tr> |
| 1564 | + <tr> |
| 1565 | + <td class="paramkey"></td> |
| 1566 | + <td></td> |
| 1567 | + <td class="paramtype"> </td> |
| 1568 | + <td class="paramname"><em>delete</em> = <code>False</code>, </td> |
| 1569 | + </tr> |
| 1570 | + <tr> |
| 1571 | + <td class="paramkey"></td> |
| 1572 | + <td></td> |
| 1573 | + <td class="paramtype"> </td> |
| 1574 | + <td class="paramname"><em>include_hidden</em> = <code>False</code>, </td> |
| 1575 | + </tr> |
| 1576 | + <tr> |
| 1577 | + <td class="paramkey"></td> |
| 1578 | + <td></td> |
| 1579 | + <td class="paramtype"> </td> |
| 1580 | + <td class="paramname"><em>ignore_timestamps</em> = <code>False</code> </td> |
| 1581 | + </tr> |
| 1582 | + <tr> |
| 1583 | + <td></td> |
| 1584 | + <td>)</td> |
| 1585 | + <td></td><td></td> |
| 1586 | + </tr> |
| 1587 | + </table> |
| 1588 | +</div> |
| 1589 | +<div class="memdoc"> |
| 1590 | + |
| 1591 | +<p>Compares the contents of the specified folder, and checks to make sure that the corresponding object is present in the specified container. </p> |
| 1592 | +<p>If there is no remote object matching the local file, it is created. If a matching object exists, the etag is examined to determine if the object in the container matches the local file; if they differ, the container is updated with the local file if the local file is newer when `ignore_timestamps' is False (default). If `ignore_timestamps` is True, the object is overwritten with the local file contents whenever the etags differ. NOTE: the timestamp of a remote object is the time it was uploaded, not the original modification time of the file stored in that object.</p> |
| 1593 | +<p>Unless 'include_hidden' is True, files beginning with an initial period are ignored.</p> |
| 1594 | +<p>If the 'delete' option is True, any objects in the container that do not have corresponding files in the local folder are deleted. </p> |
| 1595 | + |
1538 | 1596 | </div> |
1539 | 1597 | </div> |
1540 | 1598 | <a class="anchor" id="a3857f84faa9608b0bf0a4e84ba5b1566"></a><!-- doxytag: member="pyrax::cf_wrapper::client::CFClient::upload_file" ref="a3857f84faa9608b0bf0a4e84ba5b1566" args="" --> |
|
1805 | 1863 |
|
1806 | 1864 |
|
1807 | 1865 | <hr class="footer"/><address class="footer"><small> |
1808 | | -Generated on Mon Dec 17 2012 18:02:49 for pyrax by  <a href="http://www.doxygen.org/index.html"> |
| 1866 | +Generated on Tue Feb 5 2013 13:13:12 for pyrax by  <a href="http://www.doxygen.org/index.html"> |
1809 | 1867 | <img class="footer" src="doxygen.png" alt="doxygen"/> |
1810 | 1868 | </a> 1.7.6.1 |
1811 | 1869 | </small></address> |
|
0 commit comments