Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

895

November 6th, 2012 21:00

GET details of a file/object but not the contents

Hi,

I am using curl to get files/objects in my atmos host. Is there a way we can just get the details of the object like the ones below, but not the contents of the file?

x-emc-policy: policy1

< x-emc-meta: serviceclass=policy1, atime=2012-11-07T05:26:47Z, mtime=2012-11-07T05:26:47Z, ctime=2012-11-07T05:26:47Z, itime=2012-11-07T05:25:59Z, type=regular, uid=MYUID, gid=apache, objectid=45678, objname=myfilename, size=10000000, nlink=1, policyname=policy1

< x-emc-useracl: MYUID=FULL_CONTROL

currently I am redirecting the o/p to achieve this, but i would like to know if there is a better way to do it.

I am sorry if this is a repost, but the keywords I used to search did not yield any results I wanted.

Thank you,

Sandeep

222 Posts

November 7th, 2012 06:00

There is a corresponding HEAD request for every GET request that returns everything except the data in the response body.

18 Posts

November 7th, 2012 06:00

Thank you so much, I should have read the doc more carefully

222 Posts

November 7th, 2012 06:00

No problem --- happy to help.


Raj

No Events found!

Top