0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

プロキシ環境下でのFTP(コマンドライン)

Last updated at Posted at 2019-07-25

proxy環境下でsftpではくftpを実行したかったのでインストールから使用まで...

termnalからproxy設定

export http_proxy=プロキシ:ポート
export https_proxy=プロキシ:ポート

確認
export

homebrewインストール

/usr/bin/ruby -e "$(curl -x http://プロキシ:ポート/ -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Enter → password
確認
brew help
ftpインストール

brew install tnftp

ftp使い方

ftp 接続ユーザー名@接続先サーバ名 or IPアドレス
ftp>

#ftpコマンド

pwd カレントディレクトリの確認
cd ディレクトリの移動
ls カレントディレクトリ内の確認
quit 終了
put インポート
get ダウンロード
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?