Re: lingo-l Downloading .W3D / SW 3d files in Multiuser application

2002-08-11 Thread Andreas Gaunitz P11

I think the answer is no. I just uploaded the W3D files to a HTTP 
server using FTP as binary Raw Data. You mean I have to map the W3D 
suffix to a MIME type in the HTTP server application... that seems 
logical in an Internet backwards way. I guess an old Mac server won't 
be preconfigured for this.

Thanks for this interesting clue!

-Andreas



Is the .W3D file extension MIME-mapped on the server it's coming from?

-Buzz

At 7:36 PM +0200 8/11/02, you wrote:
About downloading .W3D in a Multiuser application:

I've been investigating more in the problem with downloading W3D 
objects from a http server and then importing them into a shockwave 
movie.

It seems preloadNetthing() downloads the file from server to the 
local cache, but the netMIME is text/html so I guess the W3D is 
for some reason treated as text. When importing the file into a new 
SW3D member using loadFile like this:

fresh3dMem = #shockwave3d.new()
fresh3dMem.loadFile(theUrl, TRUE, TRUE)

I just get a Error 2147221484 and an empty #shockwave3d member (obviously).

What to do? I can't use FTP because the server runs in passive 
mode, which D8.5 does not support. Could I use Multiuser Server to 
read the file with readvalue() and then pass it to the Shockwave as 
a variable? How?


TIA
-A.
[To remove yourself from this list, or to change to digest mode, go 
to http://www.penworks.com/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!]

[To remove yourself from this list, or to change to digest mode, go 
to http://www.penworks.com/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!]

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/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!]



Re: lingo-l Downloading .W3D / SW 3d files in Multiuser application

2002-08-11 Thread Buzz Kettles

At 9:27 PM +0200 8/11/02, you wrote:
I think the answer is no. I just uploaded the W3D files to a HTTP 
server using FTP as binary Raw Data. You mean I have to map the W3D 
suffix to a MIME type in the HTTP server application... that seems 
logical in an Internet backwards way. I guess an old Mac server 
won't be preconfigured for this.

I don't know if you 'have to', I was just guessing.

Hope it solves your problem.

-Buzz

Thanks for this interesting clue!

-Andreas

Is the .W3D file extension MIME-mapped on the server it's coming from?

-Buzz

At 7:36 PM +0200 8/11/02, you wrote:
About downloading .W3D in a Multiuser application:

I've been investigating more in the problem with downloading W3D 
objects from a http server and then importing them into a 
shockwave movie.

It seems preloadNetthing() downloads the file from server to the 
local cache, but the netMIME is text/html so I guess the W3D is 
for some reason treated as text. When importing the file into a 
new SW3D member using loadFile like this:

fresh3dMem = #shockwave3d.new()
fresh3dMem.loadFile(theUrl, TRUE, TRUE)

I just get a Error 2147221484 and an empty #shockwave3d member (obviously).

What to do? I can't use FTP because the server runs in passive 
mode, which D8.5 does not support. Could I use Multiuser Server to 
read the file with readvalue() and then pass it to the Shockwave 
as a variable? How?


TIA
-A.
[To remove yourself from this list, or to change to digest mode, 
go to http://www.penworks.com/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!]

[To remove yourself from this list, or to change to digest mode, go 
to http://www.penworks.com/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!]

[To remove yourself from this list, or to change to digest mode, go 
to http://www.penworks.com/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!]
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/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!]