This is an old revision of the document!

Documentation » Using WinSCP » Guides » Basic Tasks »

Upload My Web Site

This guide contains simplified description of uploading and editing your website with WinSCP.

Managing website differs greatly with webhosting provider. This article just summarizes basics you need to know to edit pages on your website or to upload new pages.

Before starting you should:

Advertisement

Web Site Directory

Once you are connected, make sure you are in the remote directory dedicated to store a web pages. It may be the one you get in after logging in (it is the case if you do not see any subdirectories after logging in). But with some providers you will have several subdirectories available, from which only one is visible on the Internet. Such subdirectory will have a name like www, htdocs, httpdocs, public_html or other.

All files you upload to this directory will be visible on the Internet. So for example if you upload your page pictures.html into your web directory htdocs and your site domain is example.com, anyone will be able to see your page at address http://example.com/pictures.html.

By convention there is a single file that gets displayed if you do not specify any file in the address directly, i.e. frontpage. The name of the file is usually index.html or index.htm (or different extension if you use some scripting language).

sushanta gahir

sushanta gahir

Editing Pages

If you do not need to maintain your files locally, you can edit them directly on the remote server.

Advertisement

Creating Pages

If you want to create the new page, either create new file locally and upload it. Or use File(s) > New > File command.

Further Reading

Last modified: by 192.151.243.203