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
hamshuhamshu 

migration of Salesforce with FTp without using any tools or apps exchange

 

HI all,

 

Any one can help me out for this migration.....i want  move some file from salesforce to ftp by apex class..

 

If its possiable means please send the step to do.

 

 

 

 

Thanks,

jaba

bob_buzzardbob_buzzard

I doubt you'd be able to write an FTP client in Apex, as you don't have the low-level socket connectivity required so you'd be trying to do some sort of FTP over HTTP or similar.

 

I'd use something like Jitterbit or Dataloader.io which has built in support.

sfdcfoxsfdcfox
Agreed. Apex Code does not support interactive sockets, a requirement for a successful FTP session.