Замена FAR-менеджера для FTP

Вот пример, когда vim является единственным вариантом в экосистеме Ubuntu: Ubuntu Snappy не поставляется с каким-либо текстовым редактором, кроме vim-tiny. Возможно, в будущем будет один, но не с 2015 по 16. Если вы собираетесь использовать Ubuntu Snappy через последовательную консоль или ssh, лучше быть готовым использовать vim.

1
задан 6 January 2018 в 20:48

3 ответа

Я думаю, что Midnight Commander удовлетворит ваши потребности, поскольку он нуждается в терминале, и предоставляет FTP-клиенту двойные / двойные панели как FAR.

Но у этого есть одно ограничение, которое серьезно сейчас. Он не поддерживает FTPS (FTP через SSL). Существует 3-летняя ошибка.

Для простого FTP вы можете использовать Left (или Right) и FTP Link со следующим синтаксисом (из справки F1): [!d3 ]

┌───────────────────────────── Help ─────────────────────────────┐
│FTP File System                                                 │
│                                                                │
│The FTP File System (ftpfs) allows you to manipulate files on   │
│remote machines. To actually use it, you can use the FTP link   │
│item in the menu or directly change your current directory      │
│using the cd command to a path name that looks like this:       │
│                                                                │
│ftp://[!][user[:pass]@]machine[:port][remote-dir]               │
│                                                                │
│The user, port and remote-dir elements are optional. If you     │
│specify the user element, the Midnight Commander will login to  │
│the remote machine as that user, otherwise it will use          │
│anonymous login or the login name from the ~/.netrc file. The   │
│optional pass element is the password used for the connection.  │
│Using the password in the VFS directory name is not             │
│recommended, because it can appear on the screen in clear text  │
│and can be saved to the directory history.                      │
│                                                                │
└────────────────────────────────────────────────────────────────┘

Для SFTP (FTP через SSH) вы должны использовать SFTP link с синтаксисом:

┌───────────────────────────── Help ─────────────────────────────┐
│SFTP (SSH File Transfer Protocol) filesystem                    │
│                                                                │
│The SFTP file system is a network based file system that allows │
│you to manipulate the files in a remote machine as if they were │
│local.                                                          │
│                                                                │
│To connect to a remote machine, you just need to chdir into a   │
│special directory which name is in the following format:        │
│                                                                │
│sftp://[user@]machine:[port]/[remote-dir]                       │
│                                                                │
│The user, port and remote-dir elements are optional. If you     │
│specify the user element, the Midnight Commander will try to    │
│login on the remote machine as that user, otherwise it will use │
│your login name. port - specify the port used by remote server  │
│(22 by default). If the remote-dir element is present, your     │
│current directory on the remote machine will be set to this     │
│one.                                                            │
└────────────────────────────────────────────────────────────────┘

В сеансе GUI вы можете попробовать 3-летнюю ошибку [!d2 ] (клон Total Commander), он устанавливается с помощью sudo apt-get install doublecmd. У него есть FTP / FTPS и SFTP-клиент, доступ к которому из Network->FTP.

1
ответ дан 22 May 2018 в 15:43
  • 1
    Если мой ответ помог, вы можете проголосовать за него, а затем принять его. Это как «спасибо» " на AskUbuntu работает :) – N0rbert 6 January 2018 в 23:06
  • 2
    Я бы хотел, но моя репутация слишком низкая, чтобы проголосовать. Мне нужно 15, но на данный момент мне всего 6. Нажатие кнопки upvote не работает для меня. – agrinevich 6 January 2018 в 23:08
  • 3
    Без проблем :) – N0rbert 6 January 2018 в 23:09

Я думаю, что Midnight Commander удовлетворит ваши потребности, поскольку он нуждается в терминале, и предоставляет FTP-клиенту двойные / двойные панели как FAR.

Но у этого есть одно ограничение, которое серьезно сейчас. Он не поддерживает FTPS (FTP через SSL). Существует 3-летняя ошибка.

Для простого FTP вы можете использовать Left (или Right) и FTP Link со следующим синтаксисом (из справки F1):

┌───────────────────────────── Help ─────────────────────────────┐ │FTP File System │ │ │ │The FTP File System (ftpfs) allows you to manipulate files on │ │remote machines. To actually use it, you can use the FTP link │ │item in the menu or directly change your current directory │ │using the cd command to a path name that looks like this: │ │ │ │ftp://[!][user[:pass]@]machine[:port][remote-dir] │ │ │ │The user, port and remote-dir elements are optional. If you │ │specify the user element, the Midnight Commander will login to │ │the remote machine as that user, otherwise it will use │ │anonymous login or the login name from the ~/.netrc file. The │ │optional pass element is the password used for the connection. │ │Using the password in the VFS directory name is not │ │recommended, because it can appear on the screen in clear text │ │and can be saved to the directory history. │ │ │ └────────────────────────────────────────────────────────────────┘

Для SFTP (FTP через SSH) вы должны использовать SFTP link с синтаксисом:

┌───────────────────────────── Help ─────────────────────────────┐ │SFTP (SSH File Transfer Protocol) filesystem │ │ │ │The SFTP file system is a network based file system that allows │ │you to manipulate the files in a remote machine as if they were │ │local. │ │ │ │To connect to a remote machine, you just need to chdir into a │ │special directory which name is in the following format: │ │ │ │sftp://[user@]machine:[port]/[remote-dir] │ │ │ │The user, port and remote-dir elements are optional. If you │ │specify the user element, the Midnight Commander will try to │ │login on the remote machine as that user, otherwise it will use │ │your login name. port - specify the port used by remote server │ │(22 by default). If the remote-dir element is present, your │ │current directory on the remote machine will be set to this │ │one. │ └────────────────────────────────────────────────────────────────┘

В сеансе GUI вы можете попробовать 3-летнюю ошибку (клон Total Commander), он устанавливается с помощью sudo apt-get install doublecmd. У него есть FTP / FTPS и SFTP-клиент, доступ к которому из Network->FTP.

1
ответ дан 17 July 2018 в 23:43

Я думаю, что Midnight Commander удовлетворит ваши потребности, поскольку он нуждается в терминале, и предоставляет FTP-клиенту двойные / двойные панели как FAR.

Но у этого есть одно ограничение, которое серьезно сейчас. Он не поддерживает FTPS (FTP через SSL). Существует 3-летняя ошибка.

Для простого FTP вы можете использовать Left (или Right) и FTP Link со следующим синтаксисом (из справки F1):

┌───────────────────────────── Help ─────────────────────────────┐ │FTP File System │ │ │ │The FTP File System (ftpfs) allows you to manipulate files on │ │remote machines. To actually use it, you can use the FTP link │ │item in the menu or directly change your current directory │ │using the cd command to a path name that looks like this: │ │ │ │ftp://[!][user[:pass]@]machine[:port][remote-dir] │ │ │ │The user, port and remote-dir elements are optional. If you │ │specify the user element, the Midnight Commander will login to │ │the remote machine as that user, otherwise it will use │ │anonymous login or the login name from the ~/.netrc file. The │ │optional pass element is the password used for the connection. │ │Using the password in the VFS directory name is not │ │recommended, because it can appear on the screen in clear text │ │and can be saved to the directory history. │ │ │ └────────────────────────────────────────────────────────────────┘

Для SFTP (FTP через SSH) вы должны использовать SFTP link с синтаксисом:

┌───────────────────────────── Help ─────────────────────────────┐ │SFTP (SSH File Transfer Protocol) filesystem │ │ │ │The SFTP file system is a network based file system that allows │ │you to manipulate the files in a remote machine as if they were │ │local. │ │ │ │To connect to a remote machine, you just need to chdir into a │ │special directory which name is in the following format: │ │ │ │sftp://[user@]machine:[port]/[remote-dir] │ │ │ │The user, port and remote-dir elements are optional. If you │ │specify the user element, the Midnight Commander will try to │ │login on the remote machine as that user, otherwise it will use │ │your login name. port - specify the port used by remote server │ │(22 by default). If the remote-dir element is present, your │ │current directory on the remote machine will be set to this │ │one. │ └────────────────────────────────────────────────────────────────┘

В сеансе GUI вы можете попробовать 3-летнюю ошибку (клон Total Commander), он устанавливается с помощью sudo apt-get install doublecmd. У него есть FTP / FTPS и SFTP-клиент, доступ к которому из Network->FTP.

1
ответ дан 24 July 2018 в 17:05

Другие вопросы по тегам:

Похожие вопросы: