import ftplib import picamera from time import sleep # Taking Image camera= picamera.PiCamera() camera.capture('image1.jpg') session=ftplib.FTP('PC ip','bebe','1111') #PC ip means windows pc ip file = open('/home/pi/image1.jpg','rb') session.storbinary('STOR image.jpg',file) file.close() session.quit()
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)