+ Start a Discussion

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?