On 15/05/18 16:16, Rob Morley wrote:
> On Mon, 14 May 2018 20:49:57 +0100
> RobH wrote:
>
>> Thanks, but when the python script runs without the inserted curl
>> line, it takes pictures of whatever is sensed and writes the actual
>> file to the sdcard.
>>
>> I read somewhere that writing to the Pizero sdcard so many times, as
>> it would, is not a could idea as it could be corrupted.
>>
>> So I looked for a way to upload the jpg file to my server.
>
> Just use a USB thumb drive for photo storage - that can fill up and wear
> out without doing any harm to your SD card or system files.
> Or mount a remote network file system as a local drive and store the
> photos there.
>
But wouldn't the pictures be written to the pi/home folder first anyway,
or have I missed something.
If I use a USB thumb drive, how do I tell the python script to store or
write the pictures on the said drive.
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|