justinc

How to NOT download a file?

Discussion created by justinc on Sep 15, 2014
Latest reply on Sep 24, 2014 by justinc

I have a link from a vendor that accesses their website and returns a chunk of data - records that have been updated since the last time, kind of a thing. I am using 'Insert from URL' and would like to just plop the results (text/CSV) into a field and then process from there. However, it appears that I am only able to download it as a complete file. I.e. I can only save it to a container field, and not a simple text field.

 

Yes, I could export the container field and then import the file, but that seems like unnecessary steps. However, I am not quite sure what to tell this vendor about how FileMaker needs the response data formatted in order to get it as plain text. Any suggestions on what might need to be changed on his side (or mine)? The response headers look similar to this:

 

Accept-Rangesbytes
Cache-Controlno-store, no-cache, must-revalidate, post-check=0, pre-check=0
Connectionclose
Content-Dispositionattachment; filename="exported_datarecords.csv"
Content-Length44245
Content-Typeapplication/octet-stream
Pragmano-cache
ServerApache/2.2.27 (Unix) mod_ssl/2.2.27 OpenSSL/1.0.1e-fips mod_bwlimited/1.4
X-Powered-ByPHP/5.4.27

 

 

Thanks,

Justin

Outcomes