Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Nov 2022 10:07:01 +0700
From:      Olivier <Olivier.Nicole@cs.ait.ac.th>
To:        iio7@tutanota.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Cannot SFTP into FreeBSD boxes with Midnight Commander
Message-ID:  <wu7v8nfegx6.fsf@banyan.cs.ait.ac.th>
In-Reply-To: <NGyNHA3--3-9@tutanota.com> (iio7@tutanota.com)

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?wu7v8nfegx6.fsf>