How do I publish a website via FTP with FileZilla, Cyberduck, or WinSCP?

Procédure

Objective

This documentation explains how to upload your website files to your LWS web hosting using FTP software.

You will learn how to retrieve your FTP credentials, configure your connection software, transfer your website files to your hosting account, and check that your site displays correctly online.

Who is this documentation for?

This documentation is for anyone who has web hosting and wants to manually publish their website files via FTP.

It applies regardless of your control panel, as long as you have your FTP settings.

The publishing procedure is then the same in principle, whichever panel is used. Only the method for finding your FTP credentials and settings changes depending on the interface.

Before you start

Before putting your site online, make sure you have the following:

  • an active web hosting account;
  • a domain name linked to this hosting, or failing that, the server IP address;
  • FTP connection settings;
  • your website files saved on your computer;
  • FTP software installed on your computer.

Recommended software

The recommended software in this documentation is FileZilla, as it is widely used and easy to get started with.

Popular alternatives

What is FTP used for?

FTP is a method of transferring files between your computer and your web hosting.

It can be used for example to:

  • put a site online;
  • replace existing files;
  • download a backup of your site;
  • delete or rename files on the server.

In practice, you prepare your site on your computer, then use FTP software to send it to your hosting account.

Step 1: retrieve your FTP settings

Before you can publish your site, you need to retrieve the login details for your FTP space.

These settings are as follows:

  • FTP server / host;
  • FTP username;
  • FTP password;
  • sometimes a port;
  • sometimes a recommended encryption type.

The path to find these settings depends on your control panel.

Documentation adapted to your panel

  

If your domain name does not yet point to your hosting, it may be necessary to use the server IP address instead of the domain name for the FTP connection.

Step 2: prepare your site files

Before publishing, check that your website files are ready on your computer.

Depending on your site, this may be:

  • an index.html file and its associated folders;
  • an index.php file;
  • a set of folders and files exported from your website builder.

Important check

Your homepage should generally be named index.html or index.php (see default.aspx for ASP sites)

If your homepage has another name, your site may not display correctly, even if the files have been transferred properly.

Good practice

Place all your website files in a clear folder on your computer before you begin.
This will help prevent you from accidentally uploading unnecessary or incomplete files.

Step 3: install your FTP software

Install the FTP software of your choice on your computer:

Once installation is complete, open the software.

Publish your site with FileZilla

Why choose FileZilla?

FileZilla is a well-known free software, suited to publishing websites via FTP.
It allows you to connect quickly to a hosting account and easily transfer files between your computer and the server.

Step 4: configure the connection in FileZilla

1. In FileZilla, open the Site Manager at the top left.

How do I publish a website via FTP with FileZilla, Cyberduck, or WinSCP?

2. Click New site.

How do I publish a website via FTP with FileZilla, Cyberduck, or WinSCP?

Give it a simple name, for example:

  • My site
  • Main site
  • Example domain

3. Then fill in the fields with the information retrieved from your control panel.

How do I publish a website via FTP with FileZilla, Cyberduck, or WinSCP?

Fields to fill in

  • Host: enter your FTP server
    Example: ftp.yourdomain.tld or the server IP address
  • Port: leave blank if no specific port was provided
  • Protocol: choose FTP - File Transfer Protocol
  • Encryption: choose the recommended option in your settings
  • Logon type: choose Normal
  • User: enter your FTP username
  • Password: enter your FTP password

  If your domain does not yet point to your LWS hosting, enter the web server IP in the host name instead of ftp.domain.tld.

4. Click Connect according to the desired behavior.

5. During the first connection, a window related to the security certificate may appear.

How do I publish a website via FTP with FileZilla, Cyberduck, or WinSCP?

In that case, confirm the connection if the information matches your server.

Step 5: understand the FileZilla interface

How do I publish a website via FTP with FileZilla, Cyberduck, or WinSCP?

Once connected, FileZilla generally displays two main areas:

  • left: files on your computer;
  • right: files on your web hosting.

To put your site online, you must send the files from left to right.

Step 6: send your site files

1. In the left part of FileZilla, open the folder containing your site files.

How do I publish a website via FTP with FileZilla, Cyberduck, or WinSCP?

2. In the right part, open the destination folder for your site on the hosting account.

How do I publish a website via FTP with FileZilla, Cyberduck, or WinSCP?

You must publish the files in the web folder intended for displaying the site.
The exact name of this folder may vary depending on the hosting or control panel. That is precisely why retrieving the settings and identifying the correct location must be checked in your environment’s documentation.

3. Select your site files in the left part, then:

  • drag and drop them to the right part;
  • or right-click and choose Upload.

How do I publish a website via FTP with FileZilla, Cyberduck, or WinSCP?

4. Wait for the transfer

Wait until all files have been transferred.

How do I publish a website via FTP with FileZilla, Cyberduck, or WinSCP?

The time required depends on:

  • the number of files;
  • their size;
  • the speed of your Internet connection.

5. Check that no error is reported

Once the transfer is complete, make sure the files appear in the right part and that no blocking error is shown in the transfer queue.

Step 7: replace an existing site

If your hosting already contains a site or a default page, you may need to replace the existing files.

Before replacing files

It is strongly recommended to:

  • back up the existing files;
  • check that you are in the correct folder;
  • make sure you are actually replacing the old site.

LWS also provides dedicated documentation for backing up web files, which makes it a relevant step before any major change.

If FileZilla asks for confirmation

When FileZilla detects that a file already exists, it may ask whether you want to:

  • replace the file;
  • skip the transfer;
  • apply the choice to all affected files.

How do I publish a website via FTP with FileZilla, Cyberduck, or WinSCP?

Read the window carefully before confirming.

Publish your site with Cyberduck

When to use Cyberduck?

Cyberduck is a popular alternative to FileZilla.
Its interface is often seen as simpler, especially for users who want to get straight to the point.

Step 4: configure the connection in Cyberduck

1. Launch the software.

2. Click the button to open a new connection.

How do I publish a website via FTP with FileZilla, Cyberduck, or WinSCP?

3. Enter the FTP settings (1)

Indicate:

  • the FTP or secure FTP protocol according to the provided settings;
  • the server / host;
  • the username;
  • the password;
  • the port if necessary.

How do I publish a website via FTP with FileZilla, Cyberduck, or WinSCP?

4. Connect to the server by clicking the "Connect" button (2)

5. If a new window tells you that the connection is not secure, click the "continue" tab.

How do I publish a website via FTP with FileZilla, Cyberduck, or WinSCP?

5. Once connected, go to the folder that should contain the site files. (1)

How do I publish a website via FTP with FileZilla, Cyberduck, or WinSCP?

6. Drag your site files into the Cyberduck window or click the "Upload" button (2) then select the files on your computer.

7. Check that all files were uploaded before closing the software.

Publish your site with WinSCP

When to use WinSCP?

WinSCP is another very popular alternative, especially on Windows.
It also allows you to connect via FTP and manage your web hosting files.

Step 4: configure the connection in WinSCP

1. Launch the software.

2. On the welcome screen, create a new connection.

3. Enter the settings

Fill in:

  • Host name: your FTP server or the server IP;
  • Port: if a specific port was provided to you;
  • Username: your FTP username;
  • Password: your FTP password;
  • File protocol: FTP.

How do I publish a website via FTP with FileZilla, Cyberduck, or WinSCP?

4. Confirm the connection.

5. Understand the interface

As in FileZilla:

  • the left side corresponds to local files;
  • the right side corresponds to server files.

How do I publish a website via FTP with FileZilla, Cyberduck, or WinSCP?

6. Transfer your site files to the destination web folder on the server by dragging the items from left to right

7. Wait until the transfer is completely finished before closing WinSCP.

Check that your site is published correctly

Once the files have been uploaded, you must verify that your site is accessible online.

1. Open your browser

Enter your domain name in your web browser.

2. Check the displayed result

Your site should now display.

The expected result is as follows:

  • your homepage loads;
  • your images, links and styles display correctly;
  • you no longer see the old default page, if there was one.

3. If your site still does not display

Check the following:

  • the files were uploaded to the correct folder;
  • your homepage is named index.html or index.php;
  • the domain name points to the correct hosting account;
  • the files were not uploaded into a subfolder by mistake;
  • your browser is not showing an older cached version.

4. If the domain was just configured

If you have just changed the DNS configuration or linked your domain, the display may not be immediate. A propagation delay of a few hours should be observed before checking that everything works.

Common problems and solutions

I can’t connect via FTP

First check:

  • the server entered;
  • the FTP username;
  • the password;
  • the protocol chosen;
  • the selected encryption.

A simple typing mistake can prevent any connection.

If your domain does not yet point to the correct server

Try connecting with the server IP address instead of the domain name.

A certificate window appears

During the first connection, your software may display a warning related to the security certificate.

If the information matches your hosting, you can confirm the connection.

The transfer fails or gets stuck

In this case:

  • restart the transfer;
  • check your Internet connection;
  • check that your FTP settings are correct;
  • try a smaller number of files to test the connection.

I’m connected, but I can’t see my site online

This problem is often due to one of the following cases:

  • files uploaded to the wrong folder;
  • homepage named incorrectly;
  • old site still present;
  • domain not linked to the correct hosting account;
  • browser cache.

What should you do?

  • check the destination folder;
  • check the name of the home file;
  • refresh the page;
  • clear your browser cache;
  • compare the files on the server with those on your computer.

My old version of the site still appears

This may be due to:

  • browser cache;
  • an old file left on the server;
  • a domain name that still points to another hosting account.

To do

  • force refresh the page;
  • clear your browser cache;
  • check that the new files have properly replaced the old ones;
  • check that the domain points to the correct hosting account.

I can’t find my FTP settings

In that case, go back to the documentation adapted to your panel:

How do I enable passive mode in FileZilla?

1. Open your FileZilla software, click the "File" tab then "Site Manager"

How do I publish a website via FTP with FileZilla, Cyberduck, or WinSCP?  

2. Click the "Transfer settings" tab, check the "Passive" box then click "Ok" to save your choice.

How do I publish a website via FTP with FileZilla, Cyberduck, or WinSCP?  

Disabling TLS in FileZilla

In some cases, you may encounter the following error:

Command: MLSD Error:

Connection timed out after 20 seconds of inactivity Error: Failed to retrieve directory listing

The TLS connection was non-properly terminated

If so, you need to disable TLS in your FileZilla FTP software.

Best practices before and after publishing

Before going online

  • keep a complete local copy of your site;
  • check the name of your homepage;
  • make sure you publish to the correct folder;
  • make a backup if a site is already online.

After going online

  • test your site in a browser;
  • check a few important pages;
  • check the display on desktop and mobile;
  • make sure images, forms and links work correctly.

Conclusion

You now know how to publish a website via FTP using dedicated software.

The recommended method is to use FileZilla, but you can also use Cyberduck or WinSCP if you prefer.
In all cases, the principle remains the same:

  1. retrieve the FTP settings from your control panel;
  2. configure your FTP software;
  3. send your site files to the server;
  4. check that the site displays online.

If your site does not appear immediately, first check the publishing folder, the name of the home file, and your domain’s linking to the hosting account.

help.lws.net/a/79
Was this article helpful?

Yes

No

Read 149 948 times

Thank you! Feel free to ask questions about our documentation if you would like more information, and help us improve it.

Similar articles

Questions about the article 10

Ask a question
daniel
29 Aug 2022
je voudrais mettre mon site en ligne j'ai acheter un nom de domaine mais fillezilla me demande mon compte FTP, et je sais pas où l'avoir. j'ai récu par mail li'dentifiant marchand,le numero de transaction,reference commande et refeerence acheteur
fabrice-LWS Official answer
30 Aug 2022
Hello, for cPanel packages, the FTP connection information is as follows: - Host server: ftp.domaine.com (replace domaine.com with your domain name) - Login and password: these are the cPanel connection information received by email when you subscribed to the service. If you don't remember your password, you can change it by going to your LWS customer area, clicking on "Manage" behind your formula and then on "cPanel password".
Was this answer helpful?
Josh
2 Sept 2022
Je n'arrive pas a me connecter sur le serveur pourtant j'utilise des vrais identifiants (host, user, password) tous sont corrects mais on m'envoie une erreur Voici l'erreur renvoyé: Error: GnuTLS error -110: The TLS connection was non-properly terminated
fabrice-LWS Official answer
3 Sept 2022
Bonjour, je vous invite à tester sans utiliser la fonction TLS sur votre logiciel FileZilla. Pour ce faire, vous pouvez suivre la procédure suivante: https://aide.lws.fr/a/816
Was this answer helpful?
Kittie
9 Sept 2022
j'ai construit mon site sur wordpress local sans hébergeur. Je viens de m'abonner sur LWS. J'ai donc mon nom de domaine et je veux importer mon site wordpress initial dessus
fabrice-LWS Official answer
10 Sept 2022
Bonjour, la meilleure solution est d'installer sur votre site Wordpress en local, le plugin Duplicator qui vous permettra de créer une archive de votre site et un fichier installer.php. Il vous faudra ensuite publier les deux fichiers sur votre espace FTP en utilisant FileZilla. En dernier lieu, rendez vous sur le lien http://domaine.com/installer.php afin de procéder à la réinstallation de votre site Wordpress (domaine.com doit être remplacé par votre nom de domaine). Vous pouvez avoir plus d'informations en vous rendant sur l'aide suivante: https://tutoriels.lws.fr/wordpress/comment-importer-un-site-wordpress-avec-duplicator
Was this answer helpful?
roro36
14 Sept 2022
ma dernière mise à jour d'un fichier ne s'affiche pas sur la partie gauche
fabrice-LWS Official answer
16 Sept 2022
Bonjour, après la publication de votre site avec FileZilla, si la modification ne semble pas avoir été prise en compte, je vous invite à tester en vidant le cache de votre navigateur Web et/ou par le biais d'un autre navigateur. Si vous disposez d'une formule LWS Perso ou supérieur, je vous invite également à vider le cache de votre formule et/ou le désactiver temporairement. Pour cela, une fois connecté à votre espace client LWS, cliquez sur "Gérer" se trouvant derrière le nom de domaine concerné puis sur "LWS cache".
Was this answer helpful?
regis
13 Nov 2022
J'ai déposé un fichier index.html à la racine / Je tape le nom de domaine [domaine masqué] et ne vois pa l'accueil. Quelle est la bonne procédure ? Merci pour votre aide
fabrice-LWS Official answer
14 Nov 2022
Bonjour, après vérification, votre nom de domaine redirige vers une adresse ip rattachée à un autre prestataire. Si vous désirez lier votre domaine à nos services, je vous invite à modifier l'ip sur les Zones DNS pour l'enregistrement @ par l'ip de votre formule. Pour cela, connectez-vous à votre espace client LWS, cliquez sur "Gérer" se trouvant derrière le nom de domaine concerné puis sur "Zone DNS". Cliquez sur le stylet de modification se trouvant derrière la Zone concernée.
Was this answer helpful?
jay
20 Dec 2022
j'ai uploader les fichier de mon site dans le dossier racine mais quand je rentre le nom de domaine de ce dernier je tombe sur la page de de confirmation de la création du nom de domaine. Que dois je faire?
fabrice-LWS Official answer
24 Dec 2022
Bonjour, je vous invite à vérifier que vous n'ayez pas uploader les fichiers dans un répertoire de votre espace FTP et que la page principale de votre site soit bine nommé index.html ou index.php afin que votre site s'affiche convenablement.
Was this answer helpful?
mokrani
22 Jan 2023
bonjour je voudrais mettre mon site en ligne, j'ai acheter un nom de domaine j'ai aploadé mes fichiers avec filezilla, tous fonction bien sauf le formulaire de contact, il ne fonction pas, erreur 403. (https://[domaine masqué] ) es ce que ya une solution
Benjamin-LWS Official answer
24 Jan 2023

Bonjour,

Merci de nous avoir contactés concernant votre problème de formulaire de contact sur votre site web. Il semblerait que vous rencontriez une erreur 403, qui est généralement liée à des problèmes d'autorisation sur votre serveur.

Voici quelques étapes que vous pouvez suivre pour résoudre ce problème :

  • Vérifiez que vos fichiers et dossiers ont les bons paramètres de permission sur votre serveur. Il est habituellement recommandé d'utiliser des permissions de 644 pour les fichiers et 755 pour les dossiers.
  • Vérifiez que vous avez bien configuré les paramètres de votre formulaire de contact pour qu'il puisse envoyer des emails correctement.
  • Si vous utilisez des scripts tels que PHP pour traiter les données de votre formulaire, vérifiez que ces scripts sont correctement configurés et fonctionnent correctement.

Si vous avez besoin d'aide supplémentaire pour résoudre ce problème, n'hésitez pas à nous contacter via notre service de support disponible depuis votre espace client. Nous serons heureux de vous aider à résoudre ce problème et à mettre en ligne votre site. (https://aide.lws.fr/a/268)

Was this answer helpful?
jloup
7 Feb 2024
Bonjour, nouveau venu sur MWS gratuit j'ai transfere mes pages persos construites avec Dreamweaver mais a l'ouverture de la page d'acceuil aucun bandeau de tete ni de menu de nivagation. normal ou probleme avec javascript....
Jordan-LWS Official answer
12 Feb 2024

Bonjour,

Je vous remercie pour votre message.

Ce type de problème nécessite l'ouverture d'une demande d'assistance technique auprès de notre équipe dédiée, pour ce faire, je vous invite à suivre cette documentation afin que nous puissions éventuellement trouver une solution à votre problème.

Dans l'attente, je vous remercie pour votre attention et reste à votre disposition pour toute autre question ou complément d'information.

Cordialement, L'équipe LWS.

Was this answer helpful?
Kotorr
20 Sept 2024
Bonjour, J'ai placé tous les fichiers de mon site dans le gestionnaire de fichier de LWS. J'ai accès au site sans problème. Mais quelle différence y a t-il entre le garder dans le gestionnaire LWS ou le mettre sur un serveur FTP avec Filezilla ?
Jordan-LWS Official answer
26 Sept 2024

Bonjour,

Je vous remercie pour votre message.

Je comprends que vous souhaitiez connaitre les différences entre le gestionnaire de fichier et l'utilisation de FileZilla avec votre serveur FTP.

Il faut savoir que vous pouvez effectuer les mêmes opérations, sauf que le gestionnaire de fichier en PHP dispose de limitation par rapport à FileZilla, notamment sur la taille des fichiers, idéal pour la gestion de masse de fichiers ou le transfert rapide de gros fichiers.

Je vous remercie pour votre attention et reste à votre disposition pour toute autre question ou complément d'information.

 

Cordialement, L'équipe LWS

Was this answer helpful?
Christophe
17 Feb 2025
Compte client [ID client masqué] Bonjour, j'ai perdu les paramètres de connexion pour connecter Filezilla à mon site, pouvez-vous me les renvoyer, SVP ? Merci d'avance, Christophe Emion
Jordan-LWS Official answer
17 Feb 2025

Bonjour Monsieur,

Si vous avez perdu les paramètres de connexion pour FileZilla, vous pouvez facilement modifier le mot de passe de votre compte FTP à tout moment via votre espace client. Nous vous invitons à consulter la documentation suivante pour vous guider dans cette procédure : https://aide.lws.fr/a/571

 

Je vous remercie pour votre attention et reste à votre disposition pour toute autre question ou complément d'information.

Cordialement, L'équipe LWS

Was this answer helpful?

A question about this article?

Ask the LWS team and the community. Answers are published after moderation.

Ask the LWS team and its community a question

GDPR: Controller: LWS-Ligne Web Services. Purpose: moderation and public publication of your question, possible notification of an answer. Legal basis: consent (Art. 6(1)(a) GDPR). Email retention: 90 days after notification, 12 months maximum without an answer. To exercise your rights, see the GDPR section of our Terms and Conditions.