Uploading

F

freesoft_2000

Hi everyone,

I have a rather confusing question but please bear with
me for a while.

You see i am trying to upload a file to a certain
website called http://www.doubleZ.com.

I am using java's HttpUrlConnection class. Connecting to the website is
okay and i am also getting its outputstream so i can upload the html page
to the above site.

The thing is that the html page that i want to upload must be placed at
this address http://www.doubleZ.com/roll/wt.html

Now my question is how to i create the folders to upload the html file to
the address http://www.doubleZ.com/roll/wt.html
when the space that i have is just assigned with this address
http://www.doubleZ.com, so basically what i need is a way to create the
folder named roll by using Java from the client side before i can upload
the html file.

I hope i have not confused anyone

Any help is greatly appreciated

Thank You

Yours Sincerely

Richard West
 
R

rhino_redux

freesoft_2000 said:
Hi everyone,

I have a rather confusing question but please bear with
me for a while.

You see i am trying to upload a file to a certain
website called http://www.doubleZ.com.

I am using java's HttpUrlConnection class. Connecting to the website is
okay and i am also getting its outputstream so i can upload the html page
to the above site.

The thing is that the html page that i want to upload must be placed at
this address http://www.doubleZ.com/roll/wt.html

Now my question is how to i create the folders to upload the html file to
the address http://www.doubleZ.com/roll/wt.html
when the space that i have is just assigned with this address
http://www.doubleZ.com, so basically what i need is a way to create the
folder named roll by using Java from the client side before i can upload
the html file.

I hope i have not confused anyone

Any help is greatly appreciated

It would really help to know if you are writing an application, applet,
or servlet. I really can't tell from your description of your
requirements. I would probably write the code differently depending on
your answer. If you are writing an applet, you might not be able to do
the upload at all, unless perhaps you were willing to get a signed
certificate for the applet.
 
M

Moiristo

It would really help to know if you are writing an application, applet,
or servlet. I really can't tell from your description of your
requirements. I would probably write the code differently depending on
your answer. If you are writing an applet, you might not be able to do
the upload at all, unless perhaps you were willing to get a signed
certificate for the applet.

I signed my own certificate :D
 
F

freesoft_2000

Hi everyone,

Lets assume that i have a html file on my disk called wt.html,
now what i am trying to do is create a HTTP uploader so that i can upload
my wt.html file to the location at address
http://www.doubleZ.com/roll/wt.html

Now before i can upload to that location i need to create the directory
named roll on the server because all i have is this address
http://www.doubleZ.com

Basically my question is that once i have authenticated myself into this
address http://www.doubleZ.com how do i create the directory named roll
and create the file called wt.html on the server all from my side.

Is there a way this can be achieved?

Yours Sincerely

Richard West
 

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
474,262
Messages
2,571,059
Members
48,769
Latest member
Clifft

Latest Threads

Top