Re: Cannot SFTP into FreeBSD boxes with Midnight Commander

From: Olivier <Olivier.Nicole_at_cs.ait.ac.th>
Date: Wed, 16 Nov 2022 03:07:01 UTC
iio7@tutanota.com writes:

> Nov 16, 2022, 02:49 by Olivier.Nicole@cs.ait.ac.th:
>
>> iio7@tutanota.com writes:
>>
>>> When I try, I get the error: Cannot chdir to "/sftp://foo"
>>>
>>
>> That may be it, or not: there is a leading / before sftp
>>
> I noticed that as well, and tried the command manually, from 
> Midnight Commander:
>
> cd sftp://foo
>
> Cannot chdir to "sftp://foo/"

sftp://foo/ is a URL, there is no way you can cd to a URL.

I thing you could wget or curl to a URL.

Because you have a trailing /, my guess is that MC interprets that as a
directory instead of a URL.

Bests,

Olivier