-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Storage] --if-unmodified-since The condition specified using HTTP conditional header(s) is not met #5286
Comments
Sidenote for random readers: you should use a |
Hi luisamador, |
I've got this problem and can't tell from this ticket if this fix has been released yet. What milestone did #5702 go into? |
Milestone 33. |
Now it's 2021, and I got the same Problem as described above. So it's not fixed or is the example "just" not working? |
18-Feb-2022 , I got same error: modified_since=$(date -d "-1 min" "+%Y-%m-%dT%H:%MZ")
az storage blob upload-batch \
--destination $AZURE_CONTAINER_NAME/$REPLICATION_FOLDER \
--source $workingDirectory \
--if-modified-since $modified_since |
This is happening on the delete also. |
I have a storage account with a storage container called "backups".
when the storage container is empty (no blob backup files in it) this command works:
the command above deletes the files that were not modified since the last month, and it works as expected.
if I upload one blob backup file into the storage container and run the same command, it errors:
Another example:
I have uploaded two blob files into the same storage container (now the storage container is not empty, it contains the two blob backup files)
It errors but it has actually deleted one of the backup files that I uploaded 4 minutes ago.
It would be great to fix that error message since the delete operation is actually working properly. Thanks
The text was updated successfully, but these errors were encountered: