I am trying to pull a csv file into my FM15 database from FTP using BE_HTTP_GET_File.
By using the BE_CurlTrace at the end of the script, I can see that connection to the FTP is always successful, however instead of grabbing the file and returning it to a container field or documents path (I have tried both unsuccessfully) the BE_CurlTrace output simply lists all the text in the file within the BE_CurlTrace output :/
Am I doing something wrong, I know my syntax is correct on the BE_HTTP_GET_File as I have used this before, and I'm also getting a successful connection, I just can't seem to get the actual file into a container or local filepath.
Any suggestions welcome.
Thanks
Use the BE_HTTP_GET function directly in the Set Field line. Don’t use the trace function like that, it’s for debugging.