cancel
Showing results for 
Search instead for 
Did you mean: 

How to know file properties from a URL?

Former Member
0 Kudos

Hi experts,

I'm trying to use a function to know some properties from a file. The only information I have is its URL and I need to know the file name, file size, nime type...

I used the "BBP_ATTACH_CONTENT_WEBGET" function, but I didn't receive that information

Anyone can help me? Anyone knows what function can I use or what can I do?

I'm using SRM 7.0

Thanks in advance

Edited by: Carlos Serrano Rodrigo on Jul 27, 2011 8:45 AM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

How is this question related to SRM? Is your file an attachment to a procurement document? If so, call BBP_PROCDOC_GETDETAIL with your document GUID and get the attachment table, which should give you the information you mentioned. If not, you should probably post the question in a more BASIS related forum.

Former Member
0 Kudos

The question is... How to get the details/properties of a file which I only have the URL (I don't have its GID). Probably, you are right, this post should be in another forum. I'm working in SRM, so I thought this was the right forum.

I tried to use BBP_PROCDOC_GETDETAIL (previously I got the GID whith BBP_ATTACH_METH_READ_PROP_MULT function), but this is not an attachment to a procurement document. So, I hadn't receive anything.

Thank you for your response, I'll try to post in diferent forum.

Regards