I'm doing this beginners project with a motion sensor and a pi camera. With this I'll make a security camera. Since the SD card is really large on memory (compared to a HDD) I want the pi to send all my images/videos to my main (Windows 7) PC. I was thinking of a shared folder on the main PC, I do know how to make a shared folder on windows. But how do I do 'upload' images to this folder from the raspberry pi? Or are there better ways to do this. The Pi is connected to a LAN network.
sudo apt-get install samba
Then create a directory in your mnt folder, and mount your Windows share to the folder. Make sure your windows share allows ananoymous or myuser read and write without password
su (make sure you do this as root) mkdir /mnt/linky_share mount -t cifs -o user=myuser //192.168.1.104/share /mnt/samba_share <enter>
This mount will only last until reboot - So once you get it right open the file
/etc/fstab and add the line
//192.168.1.104/share /mnt/samba_share smbfs username=myuser 0 0
You can create a shared directory on Windows in the normal way. (If you don't know how to do this the Pi site is not the best place to ask).
The Pi can connect to the shared directory via
SMB (Samba). You will find lots of discussion on this. One tutorial http://www.raspberrypihelp.net/tutorials/12-mount-a-samba-share-on-raspberry-pi
If you have more specific questions clarity your question.
Access your windows shared folders on the RPI using
Everything well explained in this link.
Note: I getting "no such file or directory" errors until I realized it's better edit
etc/fstab file and then run