The 's' in sftp kinda means ssh.......so personally I'd look for different 
"web guys" ala a different service provider....

On Friday, November 8, 2024 at 10:17:59 AM UTC-8 WindnFog wrote:

> Tom, my web guys will not allow ssh (and thus no rsync.)  Is the following 
> an alternative solution to keep sftp going? 
>
> "Alternative: pysftp Drop-in Replacement with paramiko-sftp
>
> If you need a near drop-in replacement for pysftp, the paramiko-sftp 
> package provides a simple wrapper around paramiko and closely mimics 
> pysftp's API. "
>
> Paul VE1DX
>
> On Sunday, November 3, 2024 at 8:53:15 AM UTC-4 Tom Keffer wrote:
>
>> From what I can tell, pysftp is no longer available in the Debian 
>> repositories. My first recommendation would be to use rsync if your ISP 
>> offers it because it is so much faster.
>>
>> However, if your ISP does not offer rsync, and you must use pysftp, it is 
>> available on pypi.org, although the version is quite old (5 July 2016). 
>> I gave it a quick try using a modern version of Python (v3.12) and it seems 
>> to work. 
>>
>> You can use pip to install it system wide. In general, this is not a good 
>> idea because it can break existing packages and, for this reason, modern 
>> versions of pip won't let you do this without the scary sounding override 
>> "--break-system-packages"
>>
>> # If it hasn't been installed already, install pip:
>> sudo apt install python3-pip
>>
>> # Install pysftp using pip. Override
>> sudo python3 -m pip install --break-system-packages pysftp
>>
>>
>>
>>
>>
>>
>> On Sun, Nov 3, 2024 at 2:58 AM Alan Salmon <redgu...@gmail.com> wrote:
>>
>>> I've received advice from my web provider that they are phasing out ftp 
>>> uploads and requiring all users to move to sftp in the near future.
>>>
>>> Going through the documentation, it says I need pysftp and suggests 
>>> using "pip install pysftp" if you used the Pip install method, or else use 
>>> "apt install" method.
>>>
>>> Using the apt method, it cannot locate the package. I've tried both 
>>> "pysftp" and "python3-sftp" as advised by the apt error message.
>>>
>>> Can someone advise what I need to feed apt on my Raspberry Pi 4 running 
>>> Debian 12 Bookworm?
>>>
>>> Thanks.
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "weewx-user" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to weewx-user+...@googlegroups.com.
>>> To view this discussion visit 
>>> https://groups.google.com/d/msgid/weewx-user/031628b5-fd97-4854-836c-ee392fb32e2en%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/weewx-user/031628b5-fd97-4854-836c-ee392fb32e2en%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/weewx-user/4c9b3e7f-24bb-4e1b-a788-1acea4b1af51n%40googlegroups.com.

Reply via email to