ftp sendftp send
適用対象: Windows Server (半期チャネル)、Windows Server 2019、Windows Server 2016、Windows Server 2012 R2、Windows Server 2012Applies to: Windows Server (Semi-Annual Channel), Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
現在のファイル転送の種類を使用して、ローカルファイルをリモートコンピューターにコピーします。Copies a local file to the remote computer using the current file transfer type.
注意
このコマンドは、 ftp put コマンドと同じです。This command is the same as the ftp put command.
構文Syntax
send <localfile> [<remotefile>]
パラメーターParameters
パラメーターParameter | 説明Description |
---|---|
<localfile> |
コピーするローカル ファイルを指定します。Specifies the local file to copy. |
<remotefile> |
リモート コンピューターで使用する名前を指定します。Specifies the name to use on the remote computer. Remotefile を指定しない場合、ファイルによって localfile 名が取得されます。If you don't specify a remotefile, the file will get the localfile name. |
例Examples
ローカルファイル test.txt をコピーし、リモートコンピューターで test1.txt という名前を指定するには、次のように入力します。To copy the local file test.txt and name it test1.txt on the remote computer, type:
send test.txt test1.txt
ローカルファイル program.exe をリモートコンピューターにコピーするには、次のように入力します。To copy the local file program.exe to the remote computer, type:
send program.exe