How to Upload Files to Raspberry Pi

In this tutorial we walk through 5 different ways to transfer files between your PC and your Raspberry Pi.

Using Samba to Transfer a File From Your PC to a Raspberry Pi

Using File Transfer Protocol (or FTP) to Transfer a File From Your PC to a Raspberry Pi

You can quickly transfer files back and forth from your PC to your Raspberry Pi using File Transfer Protocol (or FTP).  Nosotros demonstrate how to exercise this with Filezilla, a complimentary and open up-source FTP programme.  Yous can download Filezilla for complimentary here.  You will need to download the Filezilla Client software and install it on your PC earlier you begin.

Transfer-Files-Using-FTP-and-Filezilla-to-your-raspberry-pi

Showtime, establish a connection between your Raspberry Pi and PC.

Next, connect to your Raspberry Pi.  In the peak navigation bar, enter in your Pi login information.

ftp-2-filezilla-login-information

In the Host box, enter "dex.local".  In the Username box, enter "pi".  Enter your password, the default for Raspbian for Robots is "robots1234".  In the Port box, enter in "22".

Now press "Quickconnect".

Yous should come across a successful connection in your dialog box, beneath the Quickconnect bar.

ftp-2-filezilla-succesful-login

One time you've successfully connected with the FTP software, yous can drag and drop files between the Raspberry Pi and the PC.  You can elevate files from your File Explorer window, and drop them into a directory on the Raspberry Pi.  Y'all can besides drag files from your Raspberry Pi directory in FileZilla to your File Explorer window.

dragging-files-to-the-raspberry-pi

At the kickoff of each file transfer, you should see a written report in the lower transfer status window.  Note that there are three tabs:  Queued Files, Failed Transfers, and Successful Transfers.  You can check that the file was successfully transferred past inspecting these three boxes.

ftp-2-filezilla-transfer-information

Edit Using Notepad++

We made a short video below on how to use Notepad++ to transfer and edit files on your Raspberry Pi.  Notedpad++ is, "a complimentary source code editor which supports several programming languages running under the MS Windows environment."  Information technology is a slap-up tool for editing code and files on your PC, and also on your Raspberry Pi!

We made a short video that walks through setting up Notepad++ to work with the Raspberry Pi.  You can as well ringlet down a lilliputian further and see the written pace-by-pace instructions as well.

Showtime, y'all will need to download and install Notepad++ from hither.  After installing Notepad++ on your PC, you'll demand to add a Notepad++  "NppFTP" plugin.   First click on Plugins, then Plugin Manager.

 Raspberry Pi Notepad++

Observe and select the NppFTP plugin.

Raspberry Pi Notepad++

Click "Install".  Y'all volition see the plugin data begin to download and install.

Raspberry Pi Notepad++

After installation, Notepad++ will restart.  After the restart, go to Plugins –> NppFTP –> Show NppFTP Window.

Raspberry Pi Notepad++

You should see a box announced to the right side of the screen, and a box at the lesser.  The box at the bottom is an FTP dialog box, we will see messages here about our connection.  On the right, once nosotros connect, we will see a file directory.

notepad-ftp-dialog

Adjacent, we will create a profile fordex.local to connect to our Raspberry Pi.  Click the little gear icon in the upper right of the screen, and select "Profile Settings".

Raspberry Pi Notepad++

Enter in the login information for dex.local.  Click "Add together new" and add in the connection information:

  • Hostname: dex.local
  • Connection Type: SFTP
  • Port: 22
  • Password: robots1234

notepad-profile-setup

Subsequently closing, become back to the upper correct hand corner of Notepad++, and click the connectedness icon (it is blueish and looks similar two sockets coming together).  Yous should run into your profiles drib downwards.  Select dex.local and click on information technology.

Raspberry Pi Notepad++

After the connection is succesfully made, you should run into a file tree appear in the box on the right manus side.  This is the file system on the Raspberry Pi.  You lot tin can now navigate around, find the file you want to work on, and double click information technology.  It should now announced in your local text editor!

Raspberry Pi Notepad++

Below we scrolled down to find the file raspberry_dex.txt.  When we double click it, nosotros tin edit it.

Raspberry Pi Notepad++ notepad-select-a-file

Be sure to relieve!  Always be sure to relieve.  Once you save, you should run across blue colored dialog in the lesser screen, indicating the file was succesfully updated on the Pi.  Unsaved files will appear red in the tab bar at the top!

Finally, you lot tin create a new file on your Raspberry Pi through Notepad+.  Simply select the directory you desire the file to be created in, right click it, and select "Create new file".  You can besides perform other simple file tasks in Notepad++ on your Raspberry Pi such equally creating a new directory, renaming a directory, or deleting a file, all simply past right clicking on the file or directory.

Raspberry Pi Notepad++

USB Drive

Bank check out our DexterEd page to learn near our Classroom Kits, Curriculum and Teacher Trial program.

monizforem1990.blogspot.com

Source: https://www.dexterindustries.com/howto/how-to-transfer-files-to-your-raspberry-pi-from-a-pc-computer/

0 Response to "How to Upload Files to Raspberry Pi"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel