Weird URL thing

Gregory Lypny gregory.lypny at videotron.ca
Thu Oct 31 16:12:00 EST 2002


Hi Dave,

	Thanks for responding.  The result is always empty and so is the  
container it.  All of the information about the local host is identical  
to the remote host, even the port number.

	I have a guess about the source of the problem which I'm going to look  
at.  The FileMaker portal that I tested on the local host had only four  
records in it, but the portal on the remote host had about 160.  It  
appears that accessing records in a portal and generating the  
corresponding web page through FM's Web Companion is considerable  
slower than accessing the records in the master file directly.  Doing  
so in a browser takes more than thirty seconds for the portal (closer  
to fifty seconds, actually) versus three or four seconds for the master  
file, and I'm wondering if MC is not somehow timing out before it gets  
any of the data.  I think I can test  this by bringing the big portal  
file over to the local host to see if I can access the records.  If the  
problem is repeated, then I'd keep trying with fewer and fewer records.  
  If timing out is, in fact,  the problem, perhaps there is a way to  
make MC wait longer.  Does that sound like a reasonable approach?

	Greg

	Gregory Lypny
	Associate Professor
	John Molson School of Business
	Concordia University
	_________________________
	"I am just going outside and may be some time."
  	  - Captain Lawrence Oates, 17 March 1912, Scott Expedition

	http://pareto.concordia.ca




On Thursday, October 31, 2002, at 12:03  PM, Dave Cragg wrote:

> Message: 1
> Date: Wed, 30 Oct 2002 22:35:17 +0000
> To: metacard at lists.runrev.com
> From: Dave Cragg <dcragg at lacscentre.co.uk>
> Subject: Re: Weird URL thing
> Reply-To: metacard at lists.runrev.com
>
> At 12:01 pm -0500 30/10/02, Gregory Lypny wrote:
>
>> It works fine when I test it on localhost using the MC post command as
>>
>> username:password at localhost/path/FMPro?-db=dbName.fp5&- 
>> lay=layoutName&-format=fileName.txt&-findAll
>>
>> and the container "it" returns all of the records I want.
>>
>> But when I test it on the remote machine (simply replacing localhost
>> with the remote host address, and all files the same), the variable
>> "it" is returned empty --- no data!  I confirmed that it is not a
>> problem with FileMaker because I'm able to type the above command
>> string into a browser URL field and the remote host will generate a
>> web page with all the data.  All of my other types of MC posts to
>> FileMaker on the remote host work wonderfully and those include
>> accessing portal fields (thanks to the thoughtful suggestions of
>> members of this list).
>
> Some quick thoughts ...
>
> Did you check the result following the post call? Was any error  
> returned?
>
> What happens if you use get instead of post? (I'm assuming the
> browser uses get and not post.)
>
> Did you include "http://" at the front of your url?
>
> Do you have the correct port number (if it's not 80) for the remote  
> host?
>
> Cheers
> Dave
>
>




More information about the metacard mailing list