After setting up the Raspberry Pi, you’ll likely need to transfer some files to it. Since the Pi already has an SSH server, you can use SFTP to transfer files to your user’s home directory. Read past the break to have a look at using WinSCP to transfer files.
Download and install an SFTP client for Windows. I use WinSCP which can be found here.
- After installing WinSCP, launch it from the start menu.
- Provide the Pi’s IP address in “Host name:” text box
- Enter your username in “User name:” and your password in “Password
- Similar to setting up PuTTY you will be prompted to accept a security key. Click “Yes” to accept.
- You can now drag and drop files from the left pane to the right pane
- Upon dragging a file over to the right pane you will see this box asking where to put the file. You should be able to upload to your home directory and nowhere else. You can copy to your home directory and then move the file wherever you want with an SSH shell.
- Click “Copy” to complete the transfer. You can then move the file wherever you want with the cp command in the SSH shell.
If you’ve got a LAMP server set up, you could move files into /var/www to have Apache serve the files up. You could use this to upload PHP and HTML files to write a website served by the Pi. Anyway, you’ve now got read and write access to your Pi’s file system.