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