I wouldn't be able to tell the difference between an http vs an ftp 
if they came up and shook my hand.

I've written a generalized Net Operations Manager (object, of 
course), and all was well.  It handles net operations like 
getNetText, downloadNetText, etc.  When I ran it in a test case with 
my server it worked fine.  My server has an http address.

Now I'm trying to get it running on my clients server, and it fails 
whenever I try to do a getNetText operation.  The error code is 4165 
(Requested object could not be found).  Their URL is an ftp address 
(for added security).

I traced it down to the single line of code that actually issues the 
getNetText:

      pId = getNetText(pURL & "?" & the milliseconds)

The pURL is a correct string.  The "?" & the milliseconds was added 
in order to force a new request to the server rather than attempting 
to get something from the cache.  (Something I learned from reading 
posts on this list - thanks).  But this causes the problem.

Apparently, when I use a URL with an http address in it, this "?" & 
the milliseconds works fine.  However, the same line of code with an 
ftp address fails.  If I take the "?" & the milliseconds off, the 
code works fine.

So, the question is, if I am using an ftp style URL, should I just 
abandon the "?" & the milliseconds, or is there some other way of 
forcing the request to go to the server instead of to the user's 
cache.

Thanks in advance,

Irv
-- 

Lingo / Director / Shockwave development for all occasions.

   (Home-made Lingo cooked up fresh every day just for you.)

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to