New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The code compiles using the examples using spm and MacOS X #3
Comments
Sometimes when I think a bit and read the actual code; opposed to copy / paste and expect it to work, I understand the examples are incomplete; adding
executes; still does not give any reply from FileMaker 16 Server, works fine with netcat however. I wrote this short note to give you a quick starthttps://gist.github.com/TyrfingMjolnir/ec677d62872b4ed9302f5593e4cbfb85 |
Trying again on another server and workstation; this is the query generated by PerfectFilerMaker, exposed by netcat:
|
Hello - Performing any action with Perfect-FileMaker is an asynchronous activity. The way your main.swift looks structured there, the process will launch, issue the request and then run off the end end exit; so the "result" callback will never be called. To experiment and see if this is indeed the cause, put a sleep at the end. Like so: https://gist.github.com/kjessup/f95830dd6572255ebbb1c6799eaa4e41 You should then see the expected request output. |
swift build && ./.build/x86_64-apple-macosx10.10/debug/PerfectTemplate
I have tried just about all the examples on the page, however all of them behave exactly the same as typing:
echo -n
and hitting enter in the terminal. I know FileMaker is set up correctly as I can use bothcurl
andFX.php
against the FileMaker server.Building and running the code:
also tried to set up netcat to no avail
And listening as below:
No output.
If there was errors I could correct myself, when there is apathy I'm having a hard time.
The text was updated successfully, but these errors were encountered: