0

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

3
Contributors
3
Replies
4
Views
11 Years
Discussion Span
Last Post by jwenting
0

Hi everyone,

Sounds like you should be using FTP instead of HTTP.

True but currently the support for FTP on java is not really all sound, but can i create the directory and file on the server i am connected to.

Is this possible at all

Yours Sincerely

Richard West

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.