If you're trying to send from your Raspberry Pi up to Wunderground you DO NOT need vsftpd. That server means you can accept external FTP requests to send/receive data on your Raspberry Pi.
To save on your local Raspberry Pi you just need to write the file on the local filesystem.
Code: Select all
import picamera
from time import sleep
camera = picamera.PiCamera()
camera.capture('/home/pi/pictures/image.jpg')
You may need an ftp client to send to Wunderground.
sudo apt-get install ftp
Then the basics of an FTP send are:
cd /home/pi/pictures # or wherever you stored them
ftp ftp.wundergound.com
-->Please enter userid:
yourid
-->Please enter password (which won't echo):
yourpassword
cd /dir/subdirectory/place/you/store/files/
put image.jpg
quit