swift post delete files

asked 2017-03-04 05:21:27 -0600

tcpip gravatar image

updated 2017-03-13 10:15:48 -0600


Im doing the following command

swift posta container object -H "X-Delete-After:5"

After the 10 seconds I check the file and its still there, and if i run the same command I get the error

Object POST failed: 404 Not Found  [first 60 chars of response] <html><h1>Not Found</h1><p>The resource could not be found.<
Failed Transaction ID: tx85b57dc25e9a4c8f901c3-0058907331

Did the same with curl and still the same issue.

curl -X POST -H ‘X-Auth-Token: 87279525d73d4be59dcc2df9961a1dc2’ -H ‘X-Delete-After: 86400’ AUTH_51be0a3ab19443eeb2367f04144936dd/container1/demo.sh

Where can the error be? thanks

edit retag flag offensive close merge delete