Matthew Woodward wrote:

For example let's say you wanted to write a file from your hard drive to S3:

Just realized you probably want to be able to read from S3 as well. :-) FileCopy, FileRead, and FileReadBinary also work with S3.

To copy a file from S3 to your hard drive:
FileCopy("s3://[EMAIL PROTECTED]/[bucket]/[file]", "/path/to/write/file/to.ext");

To read a file from S3 into a variable (you can use FileReadBinary here as well):
variableName = FileRead("s3://[EMAIL PROTECTED]/[bucket]/[file]")

--
Matt Woodward
[EMAIL PROTECTED]
http://www.mattwoodward.com/blog

Please do not send me proprietary file formats such as Word, PowerPoint, etc. 
as attachments.
http://www.gnu.org/philosophy/no-word-attachments.html

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to