<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Pro-Tek Blog &#187; BOTO3</title>
	<atom:link href="http://www.pro-tekconsulting.com/blog/category/boto3/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pro-tekconsulting.com/blog</link>
	<description>For UI developers / UI designers and UI trends</description>
	<lastBuildDate>Thu, 05 Sep 2019 03:59:47 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.0.34</generator>
	<item>
		<title>HOW TO SAVE S3 OBJECT TO A FILE USING BOTO3?</title>
		<link>http://www.pro-tekconsulting.com/blog/how-to-save-s3-object-to-a-file-using-boto3/</link>
		<comments>http://www.pro-tekconsulting.com/blog/how-to-save-s3-object-to-a-file-using-boto3/#comments</comments>
		<pubDate>Fri, 02 Feb 2018 03:12:52 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[BOTO3]]></category>
		<category><![CDATA[S3 object]]></category>

		<guid isPermaLink="false">http://www.pro-tekconsulting.com/blog/?p=2394</guid>
		<description><![CDATA[<p>How to save S3 object to a file using boto3? Advantages: s3_client = boto3.client(&#8216;s3&#8242;) open(&#8216;hello.txt&#8217;).write(&#8216;Hello, world!&#8217;) # Upload the file to S3 s3_client.upload_file(&#8216;hello.txt&#8217;, &#8216;MyBucket&#8217;, &#8216;hello-remote.txt&#8217;) # Download the file from S3 s3_client.download_file(&#8216;MyBucket&#8217;, &#8216;hello-remote.txt&#8217;, &#8216;hello2.txt&#8217;) print(open(&#8216;hello2.txt&#8217;).read()) These functions will automatically handle read/write files as well as doing multipart uploads in parallel for large files.</p>
<p>The post <a rel="nofollow" href="http://www.pro-tekconsulting.com/blog/how-to-save-s3-object-to-a-file-using-boto3/">HOW TO SAVE S3 OBJECT TO A FILE USING BOTO3?</a> appeared first on <a rel="nofollow" href="http://www.pro-tekconsulting.com/blog">Pro-Tek Blog</a>.</p>
]]></description>
				<content:encoded><![CDATA[<h4>How to save S3 object to a file using boto3?</h4>
<p><strong>Advantages:</strong><br />
s3_client = boto3.client(&#8216;s3&#8242;)<br />
open(&#8216;hello.txt&#8217;).write(&#8216;Hello, world!&#8217;)<br />
# Upload the file to S3<br />
s3_client.upload_file(&#8216;hello.txt&#8217;, &#8216;MyBucket&#8217;, &#8216;hello-remote.txt&#8217;)<br />
# Download the file from S3<br />
s3_client.download_file(&#8216;MyBucket&#8217;, &#8216;hello-remote.txt&#8217;, &#8216;hello2.txt&#8217;)<br />
print(open(&#8216;hello2.txt&#8217;).read())<br />
These functions will automatically handle read/write files as well as doing multipart uploads in parallel for large files.</p>
<p>The post <a rel="nofollow" href="http://www.pro-tekconsulting.com/blog/how-to-save-s3-object-to-a-file-using-boto3/">HOW TO SAVE S3 OBJECT TO A FILE USING BOTO3?</a> appeared first on <a rel="nofollow" href="http://www.pro-tekconsulting.com/blog">Pro-Tek Blog</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pro-tekconsulting.com/blog/how-to-save-s3-object-to-a-file-using-boto3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
