Back to Blog
Filemaker baseelements plugin5/9/2023 The iPhone app is looking almost the same as four years ago:Īfter uploading with the Upload button, it will take less than a second (depending on the internet connection of course), the resulting web page shows the uploaded image. To be able to upload I need to provide credentials with the -user option. The variable $file should be in the text string. The filename in my sample is ” img_NNN.png”, where NNN is the id of the FileMaker record. ![]() The URL starts with the protocol used (ftp) and then the file path including the filename. The second line in the Insert from URL script step is the URL. "-upload-file $file -user USERNAME:PASSWORD" "ftp://WEBSERVER/WEBSITE/public_html/uploads/img_" & Images::id & ".png" The script for uploading is short: Set Variable I first use a Set Variable script step to assign a variable a thumbnail version of the image, I will only have the image in a variable, $file. It is an easy way to publish images, or actually any other information, to a web site.įTP is short for File Transfer Protocol but in this case you actually don’t need a physical file. In this small sample I am going to use the camera function in FileMaker Go and upload a thumbnail to a web site using FTP. But cURL is working perfectly well even in FileMaker Go. Before version 16, FTP was only possible using an external plugin. ![]() One option is to transfer files using FTP. Four years ago I wrote about uploading photos from FileMaker Go using web services, in this article I use the same sample but now using FTP.ĬURL has a lot of options, (and it is originally developed in Sweden!), but not all of them are implemented in FileMaker. One function not available in earlier versions of FileMaker is FTP transfer. The Insert from URL script step was enhanced in version 16 with cURL, a utility for transferring data in different ways.
0 Comments
Read More
Leave a Reply. |