FsPassengers Forums
Custom Export Script Error - Printable Version

+- FsPassengers Forums (http://www.fspassengers.com/forum)
+-- Forum: FsPassengers (http://www.fspassengers.com/forum/forumdisplay.php?fid=3)
+--- Forum: FsPassengers Support (http://www.fspassengers.com/forum/forumdisplay.php?fid=5)
+--- Thread: Custom Export Script Error (/showthread.php?tid=8346)



Custom Export Script Error - rudyz - 01-04-2010

I am writing a custom .cfm application for exporting flight data and attaching custom financials for use in a VA.

When I try to export I get an error that FSP is not connected, but then I get a messages saying that I have connected ok.
[Image: export_screen.jpg]

The text that says

OK - connected

comes from my .cfm page where I reply to the POST request with

#Answer# OK - connected;

In the same way I reply with my answer I also reply with

Weight=1 Dist=2 Alt=1 Liqu=1

and

#Welcome#test welcome message#EndWelcome#;

As you can see the export option is not enabled, and I am unable to change the export flags. It appears I am only partly connected.

Can anyone offer any clues as to why I seem to be only partially connected?

Without looking through and trying to decipher a php script, is there a list of all of the POST data sent and expected replies needed with
any required formatting?


===========Edit===========
I have resolved the problem with connecting to the export. The error was caused due to using "OK" and not "Ok". Apparently the reply format is case sensitive.

I have not marked this post as [SOLVED] because I would still like to know where I can find a list of of the POST data along with a list of formating requirements for replies.
=========================



Post Edited ( 04-01-10 04:03 )