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

Before starting you should:

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).

File Names

Before you start uploading/creating pages, make sure you use reasonable file names. It is strongly recommended not to use punctuation characters, spaces and some special characters in filenames to be published on Internet. Hence instead of Mein Gästebuch.html, use mein_gastebuch.html.

Also URL (web addresses) are case sensitive, which is different to how Windows treat filenames. So if you first test your pages locally on Windows and links stops working once you upload the pages, it is probably for inconsistencies in letter cases. For example you may have a link to Mein_Gastebuch.html, but the file is actually named mein_gastebuch.html. This is not the same on Internet.

Uploading Pages

You may start uploading by dragging your files to remote panel of WinSCP. You can drag the files either from local panel (if you are using Commander interface) or from Windows Explorer.

Read guide to upload files or full documentation of uploading files.

Editing Pages

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

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.

Nimai<html> </head> <body> <body bgcolor=black> <font color=red> <h1 align=center>Nimai</h1> </body> </section><!-- wikipage stop --> </section> <aside class="col-md-3 sidebar"> <section class="donations"> <div class="row"> <h2 class="pull-left">Contribute</h2> <p class="pull-right"> <img src="https://winscp-static-746341.c.cdn77.org/assets/images/paypal.svg?v=7038" alt="PayPal" style="height: 1.5em; vertical-align: -0.4em; padding-left: 0.1em;"/> </p> </div> <p> <a href="/eng/donate.php" class="btn btn-primary btn-lg">Donate</a> </p> <ul class="list-inline"> <li><a href="/eng/donate.php?amount=9&currency=USD&class=S" title="Donate $9 via PayPal" rel="nofollow">$9</a></li> <li><a href="/eng/donate.php?amount=19&currency=USD&class=S" title="Donate $19 via PayPal" rel="nofollow">$19</a></li> <li><a href="/eng/donate.php?amount=49&currency=USD&class=S" title="Donate $49 via PayPal" rel="nofollow">$49</a></li> <li><a href="/eng/donate.php?amount=99&currency=USD&class=S" title="Donate $99 via PayPal" rel="nofollow">$99</a></li> </ul> <p> <img src="https://winscp-static-746341.c.cdn77.org/assets/images/card-logo-visa.svg?v=7038" alt="Visa" style="height: 1.2em; vertical-align: -0.2em; padding-left: 0.1em;"/> <img src="https://winscp-static-746341.c.cdn77.org/assets/images/card-logo-mastercard.svg?v=7038" alt="Mastercard" style="height: 1.2em; vertical-align: -0.2em; padding-left: 0.1em;"/> <img src="https://winscp-static-746341.c.cdn77.org/assets/images/card-logo-amex.svg?v=7038" alt="American Express" style="height: 1.2em; vertical-align: -0.2em; padding-left: 0.1em;"/> <img src="https://winscp-static-746341.c.cdn77.org/assets/images/card-logo-unknown.svg?v=7038" alt="Other" style="height: 1.2em; vertical-align: -0.2em; padding-left: 0.1em;"/> </p> </section> <section class="user-approved-software"> <h2>User Approved Software</h2> <div class="rating-stars"> <span class="rating-stars-score"> <svg width="95" height="15" class="rating-stars rating-stars-5"> <use xlink:href="#star" fill="#fff" transform="translate(0 0)"/> <use xlink:href="#star" fill="#fff" transform="translate(19 0)"/> <use xlink:href="#star" fill="#fff" transform="translate(38 0)"/> <use xlink:href="#star" fill="#fff" transform="translate(57 0)"/> <use xlink:href="#star" fill="#fff" transform="translate(76 0)"/> </svg> </span> </div> <h3 class="text-left">Total Downloads:</h3> <p class="special-large"> 232,831,169 </p> <h3 class="text-left">Rating:</h3> <p> <span class="special-large">4.8</span> out of <span class="special-large">204</span> reviews </p> <p> <a href="https://sourceforge.net/projects/winscp/reviews/" class="ws-icon-arrow soft-link">SourceForge Review</a> </p> </section> <section class="social-widgets"> <h2>Recommend</h2> <ul class="list-inline"> <li class="social-widgets-facebook"> <div class="fb-like" data-href="https://www.facebook.com/winscp/" data-layout="button_count" data-action="like" data-size="small" data-show-faces="false" data-share="true"></div> </li> <li class="social-widgets-twitter"> <a href="https://x.com/share" class="twitter-share-button" data-count="vertical" data-via="winscpnet">Tweet</a> </li> </ul> </section> <div class="promo-block hidden-sm hidden-xs"> <p class="promo-block-content"> <em>Advertisement</em> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <ins class="adsbygoogle" style="display:block;min-height: 90px" data-ad-client="ca-pub-1682759925159355" data-ad-slot="2824344559" data-ad-format="rectangle"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </p> </div> <section class="latest-forum-topics-list plain-links-list-widget nav"> <h2>Most Read</h2> <ul class="list-unstyled winscp-list"> <li> <a href="/eng/docs/ui_login">Login Dialog – Configuring Session</a> </li> <li> <a href="/eng/docs/ui_commander">Using Commander Interface</a> </li> <li> <a href="/eng/docs/guide_windows_openssh_server">Installing SFTP/SSH Server on Windows using OpenSSH</a> </li> <li> <a href="/eng/docs/ui_authenticate">Authentication Progress</a> </li> <li> <a href="/eng/docs/guide_automation">Automate file transfers or file synchronization</a> </li> <li> <a href="/eng/docs/guide_connect">Connect to FTP server or SFTP server</a> </li> <li> <a href="/eng/docs/ui_opendir">Bookmark Dialog</a> </li> <li> <a href="/eng/docs/guide_public_key">Set up SSH public key authentication</a> </li> <li> <a href="/eng/docs/guide_amazon_s3">Connecting to Amazon AWS S3 cloud storage</a> </li> </ul> </section> <section class="user-page-meta"> <ul class="list-unstyled winscp-list"> <li> <form class="button" method="post" action="/eng/docs/guide_website"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1415433446" /><input type="submit" value="Show pagesource" class="btn btn-lg btn-primary small-mb" title="Alt+Shift+V" accesskey="v" /></form> </li> <li> <form class="button" method="get" action="/eng/docs/guide_website"><input type="hidden" name="do" value="revisions" /><input type="submit" value="Old revisions" class="btn btn-lg btn-secondary" title="Alt+Shift+O" accesskey="o" /></form> </li> </ul> </section> </aside> </div> <footer class="page-last-edited"> <p>Last modified: <time datetime="2023-03-08T08:46:31+0000">2023-03-08</time> by 182.66.62.110</p> </footer> </main> <div class="footer"> <div class="container"> <div class="row"> <div class="col-sm-12 col-md-2 pull-right"> <div id="footerLogin"> <a href="/eng/docs/guide_website?do=login" class="btn btn-default btn-footer">Login</a> </div> <div id="footerLanguage" class="btn-group dropup"> <button type="button" class="btn btn-default dropdown-toggle btn-footer" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> English <span class="caret"></span> </button> <ul class="dropdown-menu"> <li><a href="/chs/">简体中文</a></li> <li><a href="/cht/">正體中文 (繁體)</a></li> <li><a href="/cs/">Česky</a></li> <li><a href="/da/">Danish</a></li> <li><a href="/de/">Deutsch</a></li> <li><a href="/eng/">English</a></li> <li><a href="/es/">Español (Castellano)</a></li> <li><a href="/et/">Eesti keel</a></li> <li><a href="/fr/">Français</a></li> <li><a href="/hr/">Hrvatski</a></li> <li><a href="/hu/">Magyar</a></li> <li><a href="/it/">Italiano</a></li> <li><a href="/jp/">日本語</a></li> <li><a href="/ko/">한국어</a></li> <li><a href="/lt/">Lietuvių</a></li> <li><a href="/nl/">Nederlands</a></li> <li><a href="/pl/">Polski</a></li> <li><a href="/ro/">Română</a></li> <li><a href="/ru/">Русский</a></li> <li><a href="/sk/">Slovensky</a></li> <li><a href="/srl/">Srpski</a></li> <li><a href="/uk/">Українська</a></li> </ul> </div> </div> <div class="col-sm-12 col-md-10"> <div class="col-xs-12 col-sm-3"> <h2 class="footer-header">Documentation</h2> <ul class="list-unstyled"> <li><a href="/eng/docs/getting_started">Quick Start</a></li> <li><a href="/eng/docs/guides">Guides</a></li> <li><a href="/eng/docs/free_ftp_client_for_windows">FTP Client</a></li> <li><a href="/eng/docs/free_sftp_client_for_windows">SFTP Client</a></li> <li><a href="/eng/docs/free_ssh_client_for_windows">SSH Client</a></li> <li><a href="/eng/docs/free_s3_client_for_windows">S3 Client</a></li> <li><a href="/eng/docs/languages">Languages</a></li> <li><a href="/eng/docs/scripting">Scripting</a></li> <li><a href="/eng/docs/library">.NET and COM Library</a></li> <li><a href="/eng/docs/commandline">Command Line Options</a></li> <li><a href="/eng/docs/portable">Portable Use</a></li> </ul> </div> <div class="col-xs-12 col-sm-3"> <h2 class="footer-header">Support</h2> <ul class="list-unstyled"> <li><a href="/eng/docs/support">Get Support</a></li> <li><a href="/eng/docs/faq">FAQ</a></li> <li><a href="/eng/docs/troubleshooting">Troubleshooting</a></li> <li><a href="/forum/">Support Forum</a></li> <li><a href="/eng/docs/history">History</a></li> <li><a href="/tracker/">Bug Tracker</a></li> </ul> </div> <div class="col-xs-12 col-sm-3"> <h2 class="footer-header">Associations</h2> <ul class="list-unstyled"> <li><a href="https://github.com/winscp/winscp">GitHub</a></li> <li><a href="https://sourceforge.net/projects/winscp/">SourceForge</a></li> <li><a href="https://teamforge.net/">TeamForge.net</a></li> <li><a href="https://www.dokuwiki.org/">DokuWiki</a></li> <li><a href="https://www.phpbb.com/">phpBB</a></li> </ul> </div> <div class="col-xs-12 col-sm-3"> <h2 class="footer-header">Follow Us</h2> <ul class="list-unstyled"> <li><a rel="me" href="https://www.facebook.com/winscp/">Facebook</a></li> <li><a rel="me" href="https://x.com/winscpnet">X</a></li> <li><a rel="me" href="https://mastodon.social/@winscp">Mastodon</a></li> <li><a rel="me" href="https://bsky.app/profile/winscp.net">Bluesky</a></li> <li><a rel="me" href="https://www.linkedin.com/company/winscp/">LinkedIn</a></li> <li><a href="/feed.php">RSS News</a></li> </ul> </div> </div> </div> </div> <footer> <div class="container"> <div class="row"> <p> © All rights reserved 2000–2025, WinSCP.net </p> <ul class="list-inline"> <li> <a href="/eng/docs/license">WinSCP License</a> </li> <li> <a href="/eng/docs/privacy">WinSCP Privacy Policy</a> </li> </ul> </div> </div> </footer> </div> </div> <script defer src="https://winscp-static-746341.c.cdn77.org/assets/js/jquery.min.js?v=7038"></script> <script defer src="https://winscp-static-746341.c.cdn77.org/assets/js/bootstrap.min.js?v=7038"></script> <script defer src="https://winscp-static-746341.c.cdn77.org/assets/js/slick/slick.min.js?v=7038"></script> <script defer src="https://winscp-static-746341.c.cdn77.org/assets/js/footer.js?v=7038"></script> <script defer src="https://winscp-static-746341.c.cdn77.org/assets/js/svg-src-polyfill.js?v=7038"></script> <script defer src="https://winscp-static-746341.c.cdn77.org/assets/js/slick-init.js?v=7038"></script> <script defer src="https://winscp-static-746341.c.cdn77.org/assets/js/matchMedia.js?v=7038"></script> <script defer src="https://winscp-static-746341.c.cdn77.org/assets/js/mediaQueryListener.js?v=7038"></script> <script defer src="https://winscp-static-746341.c.cdn77.org/assets/js/jquery.toggleSections.js?v=7038"></script> </body> </html>