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

Generating pdf report

Requirement is to create a pdf report on custom object and schedule them to a particular location. 
 Now we can use 'renderas' to generate a pdf but how to ftp it? can any one suggest an idea.

Appreciate all the help!!
You can email the pdf file using Messaging.EmailFileAttachment Class of salesforce.Go through the below link to learn more and fopr sample code :-