Webstart using ftp?

B

Bernd Eggink

Is it possible to launch an application with javaws via an ftp URL?
I tried something like

javaws ftp://user:passwd@host/blah/blah.jnlp

The jnlp element in blah.jnlp has the attributes:

codebase="ftp://user:passwd@host/blah"
href="blah.jnlp"

and the resources element contains

<jar href="blah.jar" main="true" download="eager"/>

But all I get is an error message caused by a "not logged in"
exception. The funny thing is, javaws can read the file blah.jnlp, but
then is unable to get the jar file residing in the same directory.

Is this supposed to work at all? Or am I missing something?

Regards,
Bernd
 
O

Oliver Wong

Bernd Eggink said:
Is it possible to launch an application with javaws via an ftp URL?
I tried something like

javaws ftp://user:passwd@host/blah/blah.jnlp

The jnlp element in blah.jnlp has the attributes:

codebase="ftp://user:passwd@host/blah"
href="blah.jnlp"

and the resources element contains

<jar href="blah.jar" main="true" download="eager"/>

But all I get is an error message caused by a "not logged in"
exception. The funny thing is, javaws can read the file blah.jnlp, but
then is unable to get the jar file residing in the same directory.

Is this supposed to work at all? Or am I missing something?

If it doesn't work, you could try submitting a bug report to Sun.

- Oliver
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top