function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
mirunmirun 

Chatter API for Video File Download

Hi,

 

Iam new to chatter api.

I have built java code to authenticate oauth and pass the file download url via the code

but my problem is instead of open,save i want to save the files to local drive via the code.

Is there any resource to get the file saved to local drive.

Please guide me. 

Jia HuJia Hu
You can follow the example from Salesforce,

Downloading Content from Salesforce CRM Content
http://www.salesforce.com/docs/developer/cookbook/Content/download_content.htm

Video file is same, just query the data part and save it to your local drive.
AdminBoosterAdminBooster

You will be facing the 50Mb Soap API limit (incl. base64 encoded field). If your video is bigger than this, you won't be able to download it with the API