S3Sync.net
February 02, 2014, 01:19:43 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
S3Sync.net
>
General Category
>
Report Bugs
>
"s3cmd.rb get ..." returns 0 for Error 404
Pages: [
1
]
« previous
next »
Print
Author
Topic: "s3cmd.rb get ..." returns 0 for Error 404 (Read 3779 times)
andyuk
Newbie
Posts: 1
"s3cmd.rb get ..." returns 0 for Error 404
«
on:
June 18, 2008, 10:25:07 AM »
Eg.
#
s3cmd.rb get bucket:file/that/does/not/exist local.txt
S3 command failed:
get_stream file/that/does/not/exist #<File:0xb7907588>
With result 404 Not Found
#
echo $?
0
Since an error occured I would expect 1 to be returned.
Also local.txt is created, I don't think this should happen if the file does not exist.
I had to write a horrible hack in my bash script to work around the issue.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> Announcements
=> Questions
=> General Discussion
=> Report Bugs
===> Closed Bugs
=> Feature Requests
Loading...