xero0
Posts: 1
Joined: Tue Jan 05, 2016 6:57 am

[HELP] How to access files through PC

Tue Jan 05, 2016 7:07 am

I have two questions
1. I was just wondering if you can use Raspberry pi as a file storage just like a flash drive that you can insert in your PC and access its files. I don't necessarily want it to be a file storage, i just want to access the files on the SD card without removing it from rpi.
2. Is it possible to transfer files in rpi with just the power cable attach? I already know how to transfer it through filezilla but having it stand by costs electricity.

texy
Forum Moderator
Forum Moderator
Posts: 5161
Joined: Sat Mar 03, 2012 10:59 am
Location: Berkshire, England

Re: [HELP] How to access files through PC

Tue Jan 05, 2016 7:46 am

Hi and welcome to the forum.
You can use samba to share files/folders of the pi with Windows based PC's.
Use the first part of this guide :
http://elinux.org/R-Pi_NAS

Texy
Various male/female 40- and 26-way GPIO header for sale here ( IDEAL FOR YOUR PiZero ):
https://www.raspberrypi.org/forums/viewtopic.php?f=93&t=147682#p971555

Navyscourge
Posts: 258
Joined: Sat Oct 24, 2015 1:50 pm

Re: [HELP] How to access files through PC

Tue Jan 05, 2016 8:02 am

A simple way is to install "winscp" on your laptop / pc. This is a file transfer program, listing pc files on one side and Pi files on the other (once you have logged in to the Pi). Just navigate to the required folder on both, then drag and drop files from one to the other

DirkS
Posts: 10363
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: [HELP] How to access files through PC

Tue Jan 05, 2016 8:10 am

Navyscourge wrote:A simple way is to install "winscp" on your laptop / pc. This is a file transfer program, listing pc files on one side and Pi files on the other (once you have logged in to the Pi). Just navigate to the required folder on both, then drag and drop files from one to the other
OP already uses filezilla, so there's really not much (if any) benefit to using winscp...

drgeoff
Posts: 10765
Joined: Wed Jan 25, 2012 6:39 pm

Re: [HELP] How to access files through PC

Tue Jan 05, 2016 9:08 am

xero0 wrote:I have two questions
1. I was just wondering if you can use Raspberry pi as a file storage just like a flash drive that you can insert in your PC and access its files. I don't necessarily want it to be a file storage, i just want to access the files on the SD card without removing it from rpi.
2. Is it possible to transfer files in rpi with just the power cable attach? I already know how to transfer it through filezilla but having it stand by costs electricity.
1. USB is a host and client system. You cannot directly connect a host to a host or a client to a client. That is one reason why you very rarely see a USB cable with the same type of plug at both ends. A PC is a USB host. All RPis are hosts except a Zero can be changed from host to client.
2. With only a power cable attached a RPi has no connectivity to anything.

User avatar
DougieLawson
Posts: 39121
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: [HELP] How to access files through PC

Tue Jan 05, 2016 9:46 am

xero0 wrote: 2. Is it possible to transfer files in rpi with just the power cable attach? I already know how to transfer it through filezilla but having it stand by costs electricity.
Running a raspberry pi for 366 days costs less than £4.38. It's not a big cost and won't break the bank.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Return to “Beginners”