Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
Puchar WPB
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

Jak używać FTP do przesyłania plików do WordPress dla początkujących

Uwaga redakcyjna: Otrzymujemy prowizję z linków partnerskich na WPBeginner. Prowizje nie mają wpływu na opinie i oceny naszych redaktorów. Dowiedz się więcej o Proces redakcyjny.

Czy chcesz dowiedzieć się, jak używać FTP do przesyłania plików na twoją witrynę internetową WordPress?

FTP, czyli File Transfer Protocol, to szybki i prosty sposób na przesyłanie plików z twojego komputera do witryny internetowej.

W tym artykule pokażemy, jak używać FTP do przesyłania plików do WordPress.

How to Use FTP to Upload Files to WordPress for Beginners

Oto krótki przegląd tematów, które omówimy w tym wpisie:

Co to jest FTP?

FTP to skrót od File Transfer Protocol. Jest to standardowy sposób przesyłania plików z twojego komputera na konto hostingowe witryny internetowej. Można o nim myśleć jak o zarządzaniu plikami w Internecie.

Jeśli stworzyłeś witrynę internetową WordPress, być może słyszałeś o FTP i zastanawiałeś się, czy powinieneś go używać.

Używasz pakietu oprogramowania klienckiego FTP, aby połączyć się z serwerem FTP twojej witryny internetowej.

Po nawiązaniu połączenia możesz uzyskać dostęp do plików na twojej witrynie internetowej i przesyłać pliki ze swojego komputera.

Możesz się zastanawiać, dlaczego potrzebujesz FTP, skoro możesz przesyłać pliki na twoją witrynę bez niego.

Możesz przesyłać pliki multimedialne z twojego obszaru administracyjnego WordPress. Za pomocą WordPressa można również przesyłać wtyczki i motywy.

FTP jest przydatny, ponieważ można go używać nawet wtedy, gdy występuje problem z twoją witryną WordPress. Na przykład, można go użyć do ręcznego przesłania pliku wtyczki lub motywu podczas rozwiązywania problemów z WordPressem.

Wybór oprogramowania FTP

Najpierw musisz pobrać i zainstalować klienta FTP na twoim komputerze. Klient FTP to aplikacja, która pomaga połączyć się z twoją witryną internetową i przesyłać pliki za pomocą protokołu FTP.

Istnieje wiele klientów FTP do wyboru. Jeśli potrzebujesz pomocy w wyborze tego, który będzie działał na twoim komputerze, możesz zapoznać się z naszą listą najlepszych klientów FTP dla komputerów Mac i Windows.

Niektóre popularne bezpłatne programy to WinSCP dla systemu Windows, Cyberduck dla komputerów Mac i wieloplatformowa FileZilla.

W tym poradniku będziemy korzystać z FileZilla, ale podstawowe koncepcje są takie same niezależnie od wybranego oprogramowania.

Łączenie się z twoją witryną WordPress za pomocą FTP

Aby zabezpieczyć twoje pliki, FTP wymaga nazwy użytkownika i hasła. Tak więc, gdy otworzysz oprogramowanie FTP, będziesz musiał wpisz dane uwierzytelniające FTP.

Twoje dane uwierzytelniające FTP zostały wysłane e-mailem podczas rejestracji konta hostingowego WordPress.

Informacje o twoim koncie FTP można również znaleźć w kokpicie cPanel konta hostingowego.

Manage FTP accounts under your hosting control panel

Jeśli nie możesz znaleźć danych uwierzytelniających do logowania, możesz skontaktować się z dostawcą hostingu, aby uzyskać te informacje.

Po uzyskaniu danych logowania otwórz FileZilla i wybierz opcję Plik ” Menedżer witryn z górnego menu.

Go to File » Site Manager

Spowoduje to otwarcie wyskakującego okna, w którym można dodać informacje o twojej witrynie internetowej.

Należy kliknąć przycisk „Nowa witryna” i podać tytuł twojej witryny internetowej.

Provide a Title for Your Website

Teraz nadszedł czas, aby wpisz dane logowania, które znalazłeś wcześniej. W sekcji protokołu należy wybrać SFTP, jeśli twój dostawca hostingu go obsługuje. W przeciwnym razie pozostaw opcję FTP.

Zostaniesz poproszony o wpisz twojego hosta. Zazwyczaj jest to twoja nazwa domeny, ale czasami trzeba dodać „ftp.” na początku.

Następnie należy wybrać „Normalny” jako rodzaj logowania, a następnie wpisz swoją nazwę użytkownika i hasło FTP.

FTP credentials

Po wpiszeniu tych danych kliknij przycisk „Połącz”, aby kontynuować. FileZilla zapisze ustawienia twojej witryny internetowej na potrzeby przyszłych logowań i otworzy nowe połączenie FTP z twoją witryną.

Jeśli po raz pierwszy łączysz się z witryną internetową z tego komputera, FileZilla może wyświetlić wyskakujące okienko certyfikatu.

Accept certificate

Możesz zatrzymać to wyskakiwanie, zaznaczając opcję „Zawsze ufaj certyfikatowi dla przyszłych sesji”. Następnie należy kliknąć przycisk „OK”, aby kontynuować.

FileZilla podejmie teraz próbę zalogowania się do twojej witryny internetowej przy użyciu danych uwierzytelniających, które wpiszesz. Po połączeniu zobaczysz dwie kolumny plików i katalogów.

Local and Remote File Lists

Lewa kolumna zawiera listę plików lokalnych na twoim komputerze. Prawa kolumna zawiera listę plików zdalnych na twojej witrynie internetowej. Ten układ umożliwia łatwe przesyłanie plików do i z twojej witryny internetowej.

Wgrywanie plików na twoją witrynę WordPress za pomocą FTP

Teraz jesteś gotowy do przesyłania plików na twoją witrynę internetową. Zacznijmy od czegoś prostego. Prześlemy plik testowy do głównego katalogu naszej witryny internetowej.

Otwórz Notatnik lub TextEdit na twoim komputerze i zapisz pusty plik. Możesz nadać mu nazwę test-upload.txt.

Następnie przejdź do twojego klienta FTP. W kolumnie Witryna regionalna przejdź do katalogu zawierającego plik testowy na twoim komputerze.

Upewnij się, że w kolumnie Witryna zdalna po prawej stronie widoczny jest katalog, do którego chcesz przesłać dane.

Następnie należy kliknąć plik prawym przyciskiem myszy i wybrać z menu opcję „Prześlij”.

Right Click and Select Upload

FileZilla prześle plik z twojego komputera na twoją witrynę WordPress. Tworzy kopię pliku i pozostawia oryginał na twoim komputerze.

Nie zalecamy przesyłania plików metodą „przeciągnij i upuść”, ponieważ jest ona mniej niezawodna. Na przykład, jeśli przypadkowo przeciągniesz plik do katalogu, możesz przesłać go w niewłaściwe miejsce na twojej witrynie internetowej.

Jest to ważne, ponieważ WordPress spodziewa się znaleźć określone pliki i katalogi w określonych lokalizacjach. Przesłanie pliku do niewłaściwego katalogu może spowodować problem.

Na przykład, gdy przesyłasz pliki multimedialne za pomocą FTP, należą one do katalogu wewnątrz /wp-content/uploads/. Motywy powinny być przesyłane do katalogu /wp-content/themes/, a wtyczki do katalogu /wp-content/plugins/.

Aby zobaczyć, jak to działa, możesz ręcznie wgrać wtyczkę na twoją witrynę internetową WordPress.

Najpierw należy pobrać wtyczkę, a następnie ją rozpakować. Znajdziesz katalog zawierający wtyczkę.

Wskazówka: Darmowe wtyczki do WordPressa można pobrać, przechodząc na stronę katalogu wtyczek w witrynie internetowej WordPress.org.

Downloading a WordPress plugin

Upewnij się, że widzisz ten katalog w lewej kolumnie twojego klienta FTP. Następnie przejdź do katalogu wp-content/plugins/ w kolumnie Remote.

Następnie możesz przesłać katalog wtyczki ze swojego komputera na witrynę internetową.

Upload a Plugin

Wtyczka będzie się wczytywać dłużej niż nasz plik testowy.

Po zakończeniu ładowania należy przejść na stronę wtyczek w obszarze administracyjnym WordPress, aby włączyć wtyczkę.

Activate the Plugin

Wgrywanie motywu premium przebiega podobnie. Najpierw musisz pobrać i rozpakować katalog motywu na twoim komputerze. Następnie można go przesłać do folderu
/wp-content/themes/ na twojej witrynie internetowej.

Pobieranie plików z twojej witryny WordPress za pomocą FTP

FTP służy nie tylko do przesyłania plików z twojego komputera do witryny internetowej WordPress. Może być również używany do pobierania plików w celu ich edycji.

Wystarczy kliknąć prawym przyciskiem myszy plik, który chcesz pobrać w kolumnie Witryna zdalna i wybrać „Pobierz” z menu. Plik zostanie przeniesiony do katalogu, który zobaczysz w lewej kolumnie ustawień regionalnych.

Right Click and Select Download

Możesz również użyć FTP, aby wykonać kopię zapasową twoich plików WordPress. Wystarczy wybrać wszystkie pliki i katalogi i pobrać je na twój komputer.

Pamiętaj jednak, że nie jest to pełna kopia zapasowa twojej witryny WordPress. Cała twoja treść jest przechowywana w bazie danych, a nie w pobranych plikach.

Jeśli chcesz również wykonać kopię zapasową twojej treści, możesz to zrobić, tworząc ręczną kopię zapasową bazy danych WordPress.

Wskazówka: Najlepszym sposobem na utworzenie kopii zapasowej WordPress jest użycie wtyczki do tworzenia kopii zapasowych WordPress. Zalecamy korzystanie z Duplicatora, ponieważ zawiera on zaplanowane kopie zapasowe, które można bezpiecznie zapisać w chmurze i przywrócić twoją witrynę internetową jednym kliknięciem, gdy zajdzie taka potrzeba.

Mamy nadzieję, że ten poradnik pomógł ci nauczyć się korzystać z FTP do przesyłania plików na twoją witrynę internetową WordPress.

Możesz również zapoznać się z naszym przewodnikiem krok po kroku dotyczącym zabezpieczeń WordPress dla początkujących lub sprawdzić naszą listę niezbędnych wtyczek WordPress, które pomogą rozwinąć twoją witrynę.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Ujawnienie: Nasze treści są wspierane przez czytelników. Oznacza to, że jeśli klikniesz na niektóre z naszych linków, możemy otrzymać prowizję. Zobacz jak WPBeginner jest finansowany, dlaczego to ma znaczenie i jak możesz nas wspierać. Oto nasz proces redakcyjny.

Avatar

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

Najlepszy zestaw narzędzi WordPress

Uzyskaj BEZPŁATNY dostęp do naszego zestawu narzędzi - zbiór produktów i zasobów związanych z WordPressem, które każdy profesjonalista powinien mieć!

Reader Interactions

123 komentarzeZostaw odpowiedź

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Dayo Olobayo says

    This is a beautifully written and easy-to-follow guide on how to use FTP to upload files to WordPress. I found the information about troubleshooting WordPress problems with FTP to be particularly useful. However, I’m curious to know more about the security implications of using FTP. Are there any security risks (to my website) that I should be aware of?

  3. Moinuddin Waheed says

    I have used FileZilla for uploading website through ftp lately but have not used for years.
    Ever since then I have made many almost all the websites on live server and for waiting time period kept the website behind coming soon page.
    Nevertheless, using ftp to upload websites is a good way and has been in good practice since long.
    Thanks for the detailed step by step guide.

  4. Jay says

    Hello,
    I’ve successfully uploaded an mp3 file to my wordpress „uploads” folder via the ftp client Transmit, however, the file doesn’t show up in the media browser in the site’s dashboard. Is there another step I need to take for it to appear there? Thanks

  5. Gabriel says

    Rather hard to explain the problem (if it even is a problem) but I manage to connect using a personally created FTP acc in the control panel of my website. What seems to be throwing me off is that under the „remote site: /” bar all that appears is a „/” folder, and that’s it. Am I missing something here? From videos, I’ve seen additional folders pop-up like „.htaccess” and such.

    • WPBeginner Support says

      You would want to reach out to your hosting provider to help fix the FTP account and where it is pointing on their hosting.

      Administrator

  6. Anna says

    If I have my site developed locally on my computer using MAMP, what is the process of uploading it to my site using FTP? The site does not have WordPress installed yet . Can I just upload all files ? Thanks for your help.

  7. Jonathan says

    The link you gave for Filezilla download was not direct to download page (there was some note about moving it, likely since you wrote this article).

  8. Eneh Stanley says

    Please after following the step in your guide, with a theme and I decided to change my theme, will the setting work right or not

  9. Tania Miller says

    This weekend I discovered my website was offline. My website is offline again this morning so I downloaded Filezilla as recommended. Having attempted to log-in this morning using Filezilla, the message is coming up „cannot connect to server” so I’m guessing this is their server error and not an issue on my website?

    • WPBeginner Support says

      You would likely need to check with your hosting as that would be the most likely issue.

      Administrator

  10. ALEXA says

    HI
    Greetings
    i want to ask from you that, i am a biginner i have domain and host and how could i install wordpress, the website was live before but now its not
    how could i start?

    thanks

  11. Kelly H says

    Do you have any insight – I successfully connected through FileZilla but my Remote Site is blank. What am I doing wrong?

    • WPBeginner Support says

      You would want to check with your hosting provider to ensure you’re connecting to the correct folder

      Administrator

  12. Jokine54 says

    Will I be able to edit and customize a template I uploaded with filezilla in my WordPress ?

    Let me put it this way: after uploading a template to my WordPress with filezilla, will I be able to find it the template in my WordPress so that I can customize it?

    I hope my question was clear a bit

    • WPBeginner Support says

      As long as you placed the theme in the themes folder you should be able to edit it the same as any other theme

      Administrator

  13. Rishav Raj says

    I can’t see a public_html folder in Filezilla for my website. Also, when I uploaded a sitemap, and copied the url to the search console, it shows invalid and 'couldn’t fetch’. Plus, Google is useless about this. I’m so lost, help me out here please?

  14. Laura says

    Thank you so much for posting this!! I did have one question, when trying to upload my site to wordpress, does the wordpress site itself have to be live in order to connect via filezilla? I keep receiving connection timed out and can’t connect to server…

    • WPBeginner Support says

      The site shouldn’t need to be live, you may want to reach out to your hosting provider to ensure there are no errors with your connection or from their end.

      Administrator

  15. Miguel Bentivegna says

    I really found this helpful! and not only this but most of your other blog posts and articles! Thanks!

  16. Kiki says

    Hello! Not sure if you have made a post about it before, but I’m wondering about what to do if you close yourself out of wordpress dash. I once made changes to a file within wp dash editor and i could’nt access it anymore, it also left my site with an error.
    For that I had to contact my hosting provider.
    If something happens where not even the hosting company can help access wp dash again, is there something specific we would have to do?
    Thanks!

  17. Atta Ul Monim says

    I have designed a WordPress website on localhost. Can I upload it to WordPress.com (Having purchased hosting plan), with all of my settings and customizations? Please guide. Thanks

  18. Abraham says

    Hey your post is really fantastic and useful. but what i need to know is in my case I am not trying to upload a plugin or a theme. I am trying to upload a couple pages together in a folder that can be opened directly with a URL. And I am completely lost. because my files in the folder were uploaded already besides the folders like wp-admin or wp-content. but when I try to type in a browser mydomainname.com/foldername (you understand what I mean i hope), I get nothing. So I don’t know what to do. And those pages are html pages that I want to upload so that they could be seen exactly as in my Kompozer and not as my other wordpress pages.
    Could you help me please?

  19. Christi says

    This was fantastic!! I barely know what I’m doing and had updated plugins and then received a parse error. Through these instructions I have my website back!! Thanks!

  20. Ryan Hellyer says

    This is horrendous advice. Why on earth would recommend anyone use FTP to upload files to their website?

    The gods invented SFTP for a reason. Use that instead.

    • WPBeginner Support says

      Hey Ryan,

      Our audiences are beginners and we didn’t want to confuse them with the jargon. We feel that many FTP clients support FTP over TLS and many hosting providers support it as well. But you are right, we should have mentioned that users should select SFTP when available. We have updated the article to let users know that it’s best to use SFTP when possible.

      Administrator

  21. saravanan says

    hi i am having a parse error in my site i tried using filezilla and followed your steps but i couldn’t login into the server please help me and save my life team i am in very critical situation.

  22. Rachel Vetter says

    Thanks so much! This seriously saved my life, and only took me a little while with the help of this video. Much appreciated

  23. Fanios says

    I recently built WordPress site on xampp server for my company which have its own data center.They want the site to be hosted on windows server 2012 in this data center by buying domain name from ISP.So,can you please guide me how to do this.Thanks in advance and a really appreciation all your tutorials and efforts.

  24. Tom Josef Guban says

    I would like to ask. is it possible to import an entire folder from ftp server to wordpress instead of importing a single file? If so, how is this possible? Thank you.

  25. Armando says

    thanks for this excellent video, I would like to ask you about videos, what happened if you have a video that you cannot uploaded from wordpress and instead you need to use FTP (where is the Media folder) to drop this file?

    Thanks a lot

    • WPBeginner Support says

      Hi Armando,

      You can upload it to /wp-content/uploads/ folder.

      However, the video will not appear in your WordPress media library inside admin area. You can still manually add the video by entering its URL.

      Administrator

  26. David Komarnicki says

    Your voice is clear. You delivery, for me. a beginner, was so fast -along with your speed of mouse movement, your presentation became- because of the speed – was impossible for me to follow. Is there a way for me to slow down your Delivery?
    Sincerely,
    David

  27. Darran says

    Hi, I locked myself out of my site after I changed the url’s when attempting to move from ,wp, sub directory to public_html for live site. If I have a back-up of before I altered the home and site url’s can I upload it using ftp, or do I need to make changes in phpmyadmin first? Thankyou in advance.

  28. Dwaynethewriter says

    So everything is perfect when i use the Edit tool but as soon as I publish, there are no spaces between paragraphs. I tried looking for the Editor in Appearance but my WP Admin page does not have that feature. How do I fix this?

  29. Luis says

    Hello this is a really great tutorial; but i have a question, i dont have much experience, so im trying to set the winSCP, but it gave me this error message conecting to (my host name) acces denied, and ask me to put the pasword again, if some one can help me i will be really happy.

  30. Rachel says

    Thank you. This video saved me! Clear information for someone who would not even call themselves a beginner yet! Much Appreciated

  31. Amálka says

    I installed and connected filezilla to my site, but in Remote site section appear nothing…. What can I do?

  32. Frankl says

    hi….am using a local host ISS7 and web matrix to power up my word press. and i have absolutely no idea of using file zilla to upload my files into wordpress. please i need help… thanks

  33. Barbara says

    You definitely saved my life :)
    I’m one of those people trying to do all by themselves, and got locked out by my site.
    Thank you so much for sharing this!

    • Patricia says

      @Barabra,

      Same here, I’m doing my own business set up. I love this plug-in! Once you understand the structure of WordPress, it’s a blast to use.

      I love their plug-ins and the ease of the design.

  34. Asad says

    I am yet to buy the domain from any hosting provider. I am new to WP. How to configure filezilla for hostname: ***.worpress.com? is it possible?

  35. Carl John Carolino says

    Please help me. After editing the functions.php of my site, this appeared: Parse error: syntax error, unexpected '<' in /home/carljohn/public_html/wp/wp-content/themes/blog-start/functions.php on line 83. How will I resolve this problem?

  36. Priscilla says

    Hi!!
    Hmm… So I’m new at this whole FTP programs thing.. And as I have to completely change and update my company’s website, I wanted to use the domain but switch everything else to WordPress… Do you have any tutorial about this switch?
    Thank you!

  37. Heike says

    Just signed up to WordPress, but unfortunately I have not received an email yet telling me the ftp details. Where can I request them? Is it possible to upload an entire website to WordPress? Thanks for ur help…

  38. Sarah says

    Blah, blah, blah. What the heck is the WordPress FTP server? I know how to use ftp but I don’t know the wordpress server?!?!

    • WPBeginner Support says

      Your WordPress server is the computer where your WordPress site is stored by your web hosting company. An FTP client allows you to connect to that computer and upload or download files. Please contact your web hosting service provider for your FTP login credentials.

      Administrator

  39. Amit Bhuttan says

    Thank You!! This was very useful info & saved a lot of time in restoring the corrupt php file and now my website is up and running again…. saved me a great amount of time in redoing hell lot of development……. I appreciate you.

  40. Mario M. says

    I am a new webmaster, and was sent Login Info for WordPress and the FTP.
    There was also a link and so I clicked on the link and it sent me to a login dialog box. I entered the login info and password then nothing happened. Why???

  41. Dee says

    Great video. The issue I have is I wanted to upload a video file into the media folder using FTP, I followed these steps and could not locate de media folder, how can I do tha?

  42. Brenda Young says

    Thank god for you guys! I got no help from my theme provider, or wordpress.org to fix my problem I locked myself out with Error 500 editing functions.php file and you nailed it down for me!!! Hours spent previously trying to figure out what to do and you saved the day—- YOU ROCK

  43. jeff says

    Can you tell me if I can use wordpress.org as a store? I have a dropship company that can give me FTP files of their products and upload to a website. I have to build a new website so maybe wordpress.org??

Zostaw odpowiedź

Dziękujemy za pozostawienie komentarza. Pamiętaj, że wszystkie komentarze są moderowane zgodnie z naszymi polityka komentarzy, a Twój adres e-mail NIE zostanie opublikowany. NIE używaj słów kluczowych w polu nazwy. Przeprowadźmy osobistą i konstruktywną rozmowę.