On 15/05/2018 20:44, RobH wrote:
> On 15/05/18 17:09, mm0fmf wrote:
>> On 15/05/2018 10:58, Richard Kettlewell wrote:
>>> RobH writes:
>>>> On 15/05/18 09:20, The Natural Philosopher wrote:
>>>>> On 15/05/18 07:14, Cordy wrote:
>>>>>> Il 14/05/2018 21:23, RobH ha scritto:
>>>>>>> curl -T /home/pi/filename.jpg
>>>>>>> ftp://ftp-host-machine//yourwebsite/folder/filename.jpg --user
>>>>>>
>>>>>> Try to add a third "/" after "ftp:".
>>>>>
>>>>> Try deleting the second / after 'ftp-host-machine' :-)
>>>>
>>>> This is what I have now:
>>>>
>>>> curl -T /home/pi/filename.jpg ftp://NAS server ip
>>>> address/mnt/folder/subfolder
>>>>
>>>> And it still fails at the ftp:// part
>>>
>>> Ignore the people who are telling you to tinker with the URL. You cannot
>>> insert shell commands into Python scripts like that; it will never
>>> work.
>>>
>>> Instead pay attention to the people telling you to use os.system or the
>>> subprocess module.
>>>
>> I've tried telling him but he's not listening.
> Who , me, I have tried what other posters have suggested and it does not
> work.
>
Are you using os.system or pycurl or ftplib yet?
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|