AnsweredAssumed Answered

FTP via Insert from URL

Question asked by andywalz on Jun 2, 2017
Latest reply on Dec 5, 2017 by Martin@TC43

Has anyone successfully used Insert from URL to transfer a file via ftp/ftps as shown in Example 4 here?

http://fmhelp.filemaker.com/help/16/fmp/en/index.html#page/FMP_Help%2Finsert-from-url.html%23wwconnect_header

 

I have an ftp server setup, and am able to use curl via the command line to transfer a file with:

curl -T /Users/andywalz/Desktop/Capture.png ftp://My-Mac-Mini-Server.local --user myusername:mypassword

 

However when I move the same file into a container field and use:

Set Variable [ $file ; Value: table::container ]

Insert from URL [With dialog: Off; $$results ;

"ftp://My-Mac-Mini-Server.local";

"--user myusername:mypassword --upload-file $file

--header \"Content-type: image/png\""]

 

I get "[1627] Authentication Failed" every time. I've tried with other ftps servers as well with same result. What am I missing?

 

 

Outcomes