Open Specifications Developer Center > Open Specifications Forums > Using the SharePoint Products and Technologies Protocols > how can i get the size of a document (in a document library or under a folder)
Ask a questionAsk a question
 

Answerhow can i get the size of a document (in a document library or under a folder)

  • Sunday, August 16, 2009 11:53 AMmehatzri Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    hi all,

    im trying to get the size of a document.

    i have a folder \ Document Library url.
    i sent this url to the 'enumerate folder' method of the 'sitedata' webservice.
    this method returns an array of type _SFPurl.

    Each url, i believe, indicates a folder or a file. i filter it to have only the files (=documents).


    so now i have an array of _SFPurls of all the files under a folder\document library.

    now from the _SFPurl of the document i want to get its size.
    how do i do that???


    (maybe you know other ways to find the size of a documnet)

    thanks !

Answers

All Replies