Requests is the latter, sort of. An 'ls' command is one request despite how
many results it returns (up to 1000). A 'get' request is a download of a
single file. Although a large file may be downloaded in several parts in
which case each part is a request. To get a better idea, you can read the
details of how the S3 API works:
http://docs.aws.amazon.com/AmazonS3/latest/API/APIRest.html
I don't know about your other question. I'll leave that for Matt or someone
more familiar with the code.
Jeremy Wadsack
On Sun, Mar 22, 2015 at 1:58 PM, Russell Gadd <rust...@gmail.com> wrote:
> I'm wondering if someone could help explain:
>
> 1. Can you tell me if --files-from is an available option for the ls
> command? I've experimented to find out but without success. (Example: s3cmd
> -r --files-from=testlist.txt ls s3://xyztestbucket). Probably not but I
> just wanted to check. It's not clear in the documentation although I
> suspect most people probably haven't got a use for it. So please confirm
> that --files-from doesn't apply to ls or else tell me how to specify the
> command and the list of files (i.e. is s3//bucket-name required at the
> front of each file). In my proposed usage it would be useful as it would
> verify the existence of specific files. If not available I will have to
> issue one command per file unless I list the whole lot since I'm not using
> folders.
>
> 2. I'm not sure of the meaning of "requests" in the pricing of get or list
> requests, which for EU-West is $.004 / 1000 requests.
> Does this mean $.004 for a request which returns 1000 file names or
> literally 1000 lists each of which could return any number of filenames?
> Actually it's probably small beer for my usage but it would be nice to know.
>
> Russell
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website,
> sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for
> all
> things parallel software development, from weekly thought leadership blogs
> to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> S3tools-general mailing list
> S3tools-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/s3tools-general
>
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
S3tools-general mailing list
S3tools-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/s3tools-general