FTPバッチで実行
投稿日: 2013/12/30 4:24:33
Windows
FTP -s:コマンドファイル
コマンドファイル
open IPアドレス
user ユーザ名
pass パスワード
ls
put localfile.txt
bye
Linux/Mac
シェル
Linux/Mac
#!/bin/sh
ftp -nv サーバIP << EOF
user ユーザ名 パスワード
cd /
ls -R
bye
END
投稿日: 2013/12/30 4:24:33
Windows
FTP -s:コマンドファイル
コマンドファイル
open IPアドレス
user ユーザ名
pass パスワード
ls
put localfile.txt
bye
Linux/Mac
シェル
Linux/Mac
#!/bin/sh
ftp -nv サーバIP << EOF
user ユーザ名 パスワード
cd /
ls -R
bye
END