TransWikia.com

Retreive file present in ftp from cloud page

Salesforce Asked on February 14, 2021

I want to know if there is any script/function where I can retrieve a csv file present in FTP from a cloud page.

Firstly the file is already present in FTP location, so some users don’t have access to FTP.

Is there any function that I can use in cloud page to retrieve the csv file present in FTP, when we click the cloud page URL it should be downloaded the csv file.

I don’t want to use the AttachFile option.

Thanks in advance

One Answer

This is not possible, unfortunately. SSJS and Ampscript are quite limited when it comes to utilising e.g. FTP protocol, and the Enhanced FTP folder is not able to expose its files over HTTP(S) (which would be required, if you were to download it via a Cloud Page).

Correct answer by Lukas Lunow on February 14, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP