guides  /  scp-sprava-webu-windows.en

Managing your website from Windows over SFTP (WinSCP)

How to connect to your web server from Windows over SFTP with WinSCP. Upload and download your website files.

What you need

  • Your server user name and password (in the information email I sent you).
  • Which server to use (black or blue) is in the email I sent you.
  • A Windows computer.

This guide connects you to your web server (black.redwire.cz or blue.redwire.cz) from Windows. After that you can upload, download, edit and delete your website files.

SFTP encrypts both files and passwords over SSH, unlike old FTP.

Values you will enter

Connection in WinSCP
File protocolSFTPThe default
Host nameblack.redwire.cz or blue.redwire.czWhich server to use is in the email I sent you
Port number65432
User nameYour server login
PasswordThe password for your server account
Website folder/web/Appears after you log in

Connecting

Step 1 Install WinSCP

WinSCP is a free program for managing files on a server. The current version is 6.7.

  1. Download WinSCP from the official site: winscp.net.
  2. Run the installer and follow the prompts.
  3. After installation, start WinSCP.

Alternative for advanced users: in Command Prompt, run winget install WinSCP.WinSCP.

Step 2 Fill in the login window

When WinSCP starts, the Login window appears. Enter the values from the table above:

  • File protocol: SFTP (the default)
  • Host name: black.redwire.cz or blue.redwire.cz
  • Port number: 65432
  • User name: your server login
  • Password: your password

Click Save so the connection is ready next time. Do not save the password (WinSCP itself does not recommend it). Then click Login.

Step 3 Accept the server key

On the first connection, WinSCP asks whether to continue connecting to an unknown server. Compare the server key fingerprint with this one (WinSCP shows the key type before it):

Key fingerprintlapn5+fH5xD6c0URMxsLiPUxKAt5FxjnaAXRhSat1+M

If it matches, click Accept. If it does not match, click Cancel and write to me. On request I will also confirm the fingerprint by phone or Signal.

Step 4 Check that everything works

  1. On the server, open the /web/ folder.
  2. Upload a file named test-winscp.txt to it.
  3. In your browser, open https://your-domain.com/test-winscp.txt. The file content must appear.
  4. Delete test-winscp.txt from the server.
✓ It works when
  • WinSCP connects without a server key warning.
  • The file test-winscp.txt appears on your website.

Working with files

After you connect, you see two panels. Your computer is on the left, the server is on the right. Your website files are in the /web/ folder.

Back up before changes Before you upload, edit or delete files, download the affected files from /web/ to a backup folder on your computer. For a database-backed website this does not replace a database backup. After the change, open your website in a browser and reload it without the cache (Ctrl+F5).
  • Upload to the server: drag files from the left panel to the right one. Or select the files and click Upload (F5).
  • Download from the server: drag files from the right panel to the left one. Or select the files and click Download (F5).
  • Edit: select a file in the right panel and press F4 (Edit). When you save, WinSCP uploads the changes back to the server.
  • Delete: select the file, press Delete and confirm.

When you are done, click Tabs > Disconnect Session or close WinSCP.

Troubleshooting common problems

Cannot connect to the server
  • Check your internet connection.
  • The server name must be exactly black.redwire.cz or blue.redwire.cz.
  • The port number must be 65432.
  • A firewall or antivirus can block outgoing connections to port 65432. Try another network, or write to me.
Permission denied
  • Check your user name and password.
  • The password is case sensitive.
  • You cannot write to some folders on the server. Website files belong in /web/.
Files do not display correctly on the website
  • Check that you uploaded the files to the /web/ folder.
  • The server is case sensitive in file names (unlike Windows).
  • Reload the page without the cache (Ctrl+F5).
WinSCP says “Host key wasn't verified!”

This message appears when you cancel the server key confirmation. Connect again and compare the fingerprint (step 3).

If WinSCP warns that the key does not match the stored key (potential security breach), do not connect and write to me.

If nothing helps, write to me: which server, which user name (not the password), and a screenshot of the error.

Need help connecting?

Related guides

Need it solved, not just read?

When there's no time, remote support is here.

send a message