993件ヒット
[1-100件を表示]
(0.038秒)
クラス
-
Net
:: FTP (786) -
Net
:: FTP :: MLSxEntry (207)
キーワード
- abort (11)
- acct (11)
- appendable? (9)
- binary (11)
- binary= (11)
- charset (9)
- chdir (11)
- close (11)
- closed? (11)
- connect (11)
- creatable? (9)
- create (9)
-
debug
_ mode (11) -
debug
_ mode= (11) - deletable? (9)
- delete (11)
- dir (22)
- directory? (9)
-
directory
_ makable? (9) - enterable? (9)
- facts (9)
- file? (9)
- get (22)
- getbinaryfile (22)
- getdir (11)
- gettextfile (22)
- help (11)
- lang (9)
-
last
_ response (11) -
last
_ response _ code (11) - lastresp (11)
- list (22)
- listable? (9)
- login (11)
- ls (22)
- mdtm (11)
-
media
_ type (9) - mkdir (11)
- mlsd (18)
- mlst (9)
- modify (9)
- mtime (11)
- nlst (11)
- noop (11)
-
open
_ timeout (11) -
open
_ timeout= (11) - passive (11)
- passive= (11)
- pathname (9)
- perm (9)
- purgeable? (9)
- put (22)
- putbinaryfile (22)
- puttextfile (22)
- pwd (11)
- quit (11)
-
read
_ timeout (11) -
read
_ timeout= (11) - readable? (9)
- renamable? (9)
- rename (11)
- resume (11)
- resume= (11)
- retrbinary (22)
- retrlines (11)
-
return
_ code (11) -
return
_ code= (11) - rmdir (11)
- sendcmd (11)
-
set
_ socket (11) - site (11)
- size (20)
- status (11)
- storbinary (22)
- storlines (22)
- system (11)
- type (9)
- unique (9)
- voidcmd (11)
- welcome (11)
- writable? (9)
検索結果
先頭5件
-
Net
:: FTP # mlsd(pathname = nil) -> [Net :: FTP :: MLSxEntry] (8009.0) -
pathname で指定したディレクトリに含まれているファイルの詳細な情報を得ます。
...コマンドとして
MLST/MLSD が定義されました。
@param pathname 情報を得るディレクトリ名
@see Net::FTP#mlst
require 'net/ftp'
Net::FTP.open("ftp.example.org") do |ftp|
ftp.login("anonymous", "foobar@example.com")
p ftp.mlsd("/")
# =>
# [#<Net::FTP::M... -
Net
:: FTP # mlsd(pathname = nil) {|entry| . . . } -> () (8009.0) -
pathname で指定したディレクトリに含まれているファイルの詳細な情報を得ます。
...コマンドとして
MLST/MLSD が定義されました。
@param pathname 情報を得るディレクトリ名
@see Net::FTP#mlst
require 'net/ftp'
Net::FTP.open("ftp.example.org") do |ftp|
ftp.login("anonymous", "foobar@example.com")
p ftp.mlsd("/")
# =>
# [#<Net::FTP::M... -
Net
:: FTP # abort -> String (8003.0) -
データの転送を中止します。
データの転送を中止します。
@return サーバからの応答を文字列で返します。
@raise Net::FTPReplyError 応答コードが正しくない場合に発生します。 -
Net
:: FTP # acct(account) -> nil (8003.0) -
サーバーに ACCT コマンドでアカウント情報を送ります。
サーバーに ACCT コマンドでアカウント情報を送ります。
@param account 送りたいアカウント情報を文字列で与えます。
@raise Net::FTPReplyError 応答コードが2yzでない場合に発生します。 -
Net
:: FTP # binary -> bool (8003.0) -
Net::FTP#put, Net::FTP#get による転送を バイナリモード(IMAGE)で行うかどうかを返します。
Net::FTP#put, Net::FTP#get による転送を
バイナリモード(IMAGE)で行うかどうかを返します。
デフォルトの値は true です。
偽の場合、テキストモード(ASCII)が仮定されます。
EBCDIC や LOCAL など他の表現タイプはサポートされていません。
@see Net::FTP#binary= -
Net
:: FTP # binary=(bool) (8003.0) -
Net::FTP#put, Net::FTP#get による転送を バイナリモード(IMAGE)で転送するかどうかを指定します。
Net::FTP#put, Net::FTP#get による転送を
バイナリモード(IMAGE)で転送するかどうかを指定します。
デフォルトの値は true です。
偽の場合、テキストモード(ASCII)が仮定されます。
EBCDIC や LOCAL など他の表現タイプはサポートされていません。
@param bool 真ならばバイナリモードを on にします。
@see Net::FTP#binary -
Net
:: FTP # chdir(dirname) -> nil (8003.0) -
リモートサーバでのカレントディレクトリを dirname に変更します。
リモートサーバでのカレントディレクトリを dirname に変更します。
@param dirname 変更先のディレクトリを与えます。
@raise Net::FTPReplyError 応答コードがエラーである場合に発生します。カレントディレクトリ変更に失敗した場合に発生します。 -
Net
:: FTP # close -> () (8003.0) -
サーバとの接続を切ります。
サーバとの接続を切ります。
再び Net::FTP#connect で接続しない限り
一切の操作が不可能になります。 -
Net
:: FTP # closed? -> bool (8003.0) -
接続が切れている時に真を返します。
接続が切れている時に真を返します。 -
Net
:: FTP # connect(host , port = FTP _ PORT) -> () (8003.0) -
host で指定されたホストに接続します。
host で指定されたホストに接続します。
環境変数 SOCKS_SERVER が指定されている場合、SOCKS プロクシを
経由して接続します。
これを呼びだす前に通信をしようとすると、
Net::FTPConnectionError 例外が発生します。
@param host 接続するホスト名です。
@param port 接続するポート番号です。
@raise Net::FTPTempError 応答コードが 4yz のときに発生します。
@raise Net::FTPPermError 応答コードが 5yz のときに発生します。
@raise Net::FTPProtoErr...