• emma mackey
  • NEWBIE
  • 0 Points
  • Member since 2021

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies

Hello,

 

I'm trying to write a class that would be schedulled in order to download a file from the internet and attach it to a custom object once a day.

 

The file is a Zip file that contains an XML document inside.

 

Idealy in java I simply use the IO.downloadFileFromHttpsURL(url, null, file); method to save the file into a local machine. IS there a method in SalesForce to do this and save the file downloaded to an instance of a custom object?

 

Thanks

 

Tzuvy

  • July 09, 2010
  • Like
  • 0