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
JO_DevJO_Dev 

Is there any way to specify the directory for a file to download in an APEX class?

I need to figure out how to download a file to a specific directory. Is there a way to do this?
Rajiv Penagonda 12Rajiv Penagonda 12
What you are requesting is a client application specific behavior and Salesforce does not have any way to control that from within apex. I am assuming that you are trying to download a file from SF to your local machine. Is that right?