より完全な答えは、ftpではできません。(少なくともftpプログラムはcentos 6 )。
未参加のプロセスが必要だったので、「pts」の回答は正常に機能します。
ではなく、FTPのカールと無人アップロードを行います。
curl -u user:password -T file ftp://server/dir/file
% 40が動作するように表示されません。
[~]# ftp domain.com
ftp: connect: Connection refused
ftp> quit
[~]# ftp some_user%[email protected]
ftp: some_user%[email protected]: Name or service not known
ftp> quit
私が持っているのは、ftpプログラムを開いてドメインを使用して、尋ねられたときにユーザーを入力することです。とにかくパスワードが必要なので、対話的な性質はおそらく問題ではありません。
[~]# ftp domain.com
Connected to domain.com (173.254.13.235).
220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
220-You are user number 2 of 1000 allowed.
220-Local time is now 02:47. Server port: 21.
220-This is a private system - No anonymous login
220-IPv6 connections are also welcome on this server.
220 You will be disconnected after 15 minutes of inactivity.
Name (domain.com:user): [email protected]
331 User [email protected] OK. Password required
Password:
230 OK. Current restricted directory is/
Remote system type is UNIX.
Using binary mode to transfer files.
私は両方を試しています。みんなありがとう!! – bentford
これはhttp://superuser.comに属しているようです。 –