Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 08-31-2012, 01:01 PM   PM User | #1
SumanSriparna
New to the CF scene

 
Join Date: Aug 2012
Posts: 6
Thanks: 2
Thanked 0 Times in 0 Posts
SumanSriparna is an unknown quantity at this point
Exclamation Upload html files on Server[request immediate help]

Hi I am a complete newbie, I have design and created a website based only on html files, no server side technology,

I want to upload my files into a hosting server, my project folder contains multiple html files including the index.html file,

I am requesting for a tutorial on how to upload multiple files.
I have also uploaded an image file describing the folder structures of my project.

Please Kindly Help.
Attached Thumbnails
Click image for larger version

Name:	html.jpg
Views:	26
Size:	49.2 KB
ID:	11507  
SumanSriparna is offline   Reply With Quote
Old 08-31-2012, 01:06 PM   PM User | #2
waynenort
New Coder

 
Join Date: Jul 2012
Posts: 62
Thanks: 5
Thanked 14 Times in 14 Posts
waynenort is an unknown quantity at this point
Your web host should provide you with a cpanel login. From there you can upload your files via the file manager. http://www.youtube.com/watch?v=vMiLEUCBdnU
Otherwise use a FTP program like filezilla (free) to upload your files. http://www.youtube.com/watch?v=yr_u2iKfAt0

Last edited by waynenort; 08-31-2012 at 01:14 PM..
waynenort is offline   Reply With Quote
Users who have thanked waynenort for this post:
SumanSriparna (08-31-2012)
Old 08-31-2012, 01:25 PM   PM User | #3
SumanSriparna
New to the CF scene

 
Join Date: Aug 2012
Posts: 6
Thanks: 2
Thanked 0 Times in 0 Posts
SumanSriparna is an unknown quantity at this point
Quote:
Originally Posted by waynenort View Post
Your web host should provide you with a cpanel login. From there you can upload your files via the file manager. http://www.youtube.com/watch?v=vMiLEUCBdnU
Otherwise use a FTP program like filezilla (free) to upload your files. http://www.youtube.com/watch?v=yr_u2iKfAt0
Thanks for a quick reply..

I saw in some video that the folder structure must contain a index.html,
there wouldn't be any problem if there are other html files with different names?? Right?
SumanSriparna is offline   Reply With Quote
Old 08-31-2012, 01:32 PM   PM User | #4
waynenort
New Coder

 
Join Date: Jul 2012
Posts: 62
Thanks: 5
Thanked 14 Times in 14 Posts
waynenort is an unknown quantity at this point
Your index.html file is the default file that opens up when a someone visits your site. Like when someone types in yoursite.com it will auto direct to the index.html
All other supporting web html and image files, etc are ok to upload as long as the are related to your website.
Edit: You may think why not upload everything to the webserver. Eg: Your working .psd files, etc. Problem is that your provider may not allow particular file extensions.
Or your web-provider may allocate you a limited amount of file space. The files you upload use web-space. So it's wise to use it for your website.

Last edited by waynenort; 09-01-2012 at 01:09 AM..
waynenort is offline   Reply With Quote
Old 08-31-2012, 01:37 PM   PM User | #5
VIPStephan
The fat guy next door


 
VIPStephan's Avatar
 
Join Date: Jan 2006
Location: Halle (Saale), Germany
Posts: 7,702
Thanks: 5
Thanked 875 Times in 850 Posts
VIPStephan is a jewel in the roughVIPStephan is a jewel in the roughVIPStephan is a jewel in the rough
No, there are no problems. After all, a server is basically just a computer like yours, with a file system like yours. Putting your website files on the server is like copying your files from one directory into another on your computer, only you copy them from your computer on the other, remote computer.

If you have connected to your server with an FTP program, usually you will see your local files on one side and the remote files on the other side. The remote site is just a directory, too, and whatever you put in there (it doesn’t have to be HTML files, you can put any kind of file since – remember – it’s just a computer with a harddrive, too) you can access via your browser. If you put a file called “test.txt” and put in your browser’s address bar “http://example.com/test.txt” (example.com being your domain) the browser shows you the content of that text file. Likewise, if you put a directory there with the name “hello” and in that directory you put an image called “test.jpg” you can access that file in your browser by writing “http://example.com/hello/test.jpg”.

You don’t have to have an index.html file in order do be able to access the files on your server but such a file is usually the default that is called up when you don’t specify a file name in the URL (e. g. if you just input http://example.com it will actually call up the index.html, so basically it will do the same as if you had written http://example.com/index.html).

Since that server space is just a regular directory, too, it behaves as such and you can have many files in there, as in the directories on your own computer, e. g.:
Code:
/css
/img
about.html
contact.html
favicon.ico
index.html
robots.txt
The first two are directories where you can put additional files, the other ones are HTML/text/image files. And you can access all these files directly by typing the respective file path into the browser’s address bar.
__________________
Don’t click this link!
VIPStephan is online now   Reply With Quote
Users who have thanked VIPStephan for this post:
SumanSriparna (08-31-2012)
Old 08-31-2012, 05:40 PM   PM User | #6
SumanSriparna
New to the CF scene

 
Join Date: Aug 2012
Posts: 6
Thanks: 2
Thanked 0 Times in 0 Posts
SumanSriparna is an unknown quantity at this point
Thanks @waynenort and @VIPStephan for your replies, you guys have helped me a lot, thank you
SumanSriparna is offline   Reply With Quote
Reply

Bookmarks

Tags
hosting, html, upload

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:32 PM.


Advertisement
Log in to turn off these ads.