786件ヒット
[1-100件を表示]
(0.046秒)
キーワード
- abort (11)
- acct (11)
- binary (11)
- binary= (11)
- chdir (11)
- close (11)
- closed? (11)
- connect (11)
-
debug
_ mode (11) -
debug
_ mode= (11) - delete (11)
- dir (22)
- get (22)
- getbinaryfile (22)
- getdir (11)
- gettextfile (22)
- help (11)
-
last
_ response (11) -
last
_ response _ code (11) - lastresp (11)
- list (22)
- login (11)
- ls (22)
- mdtm (11)
- mkdir (11)
- mlsd (18)
- mlst (9)
- mtime (11)
- nlst (11)
- noop (11)
-
open
_ timeout (11) -
open
_ timeout= (11) - passive (11)
- passive= (11)
- put (22)
- putbinaryfile (22)
- puttextfile (22)
- pwd (11)
- quit (11)
-
read
_ timeout (11) -
read
_ timeout= (11) - 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 (11)
- status (11)
- storbinary (22)
- storlines (22)
- system (11)
- voidcmd (11)
- welcome (11)
検索結果
先頭5件
-
Net
:: FTP # mlsd(pathname = nil) -> [Net :: FTP :: MLSxEntry] (8010.0) -
pathname で指定したディレクトリに含まれているファイルの詳細な情報を得ます。
...す。
ディレクトリの各ファイルの情報が
Net::FTP::MLSxEntry のオブジェクトの配列として得られます。
どのような情報を取り出せるかは Net::FTP::MLSxEntry
を参照してください。
Net::FTP#list は
結果が文字列で得られるため、それ......@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::MLSxEntry:0x00558fbfa379c0
# @facts=
# {"modif......"unique"=>"801U1FE8E6",
# "unix.group"=>1042,
# "unix.mode"=>493,
# "unix.owner"=>106},
# @pathname => ".",
# #<Net::FTP::MLSxEntry:0x00558fbfa33e10
# @facts=
# {"modify"=>2004-12-22 08:56:36 UTC,
# "perm"=>"adfr",
# "size"=>1128,
# "ty... -
Net
:: FTP # mlsd(pathname = nil) {|entry| . . . } -> () (8010.0) -
pathname で指定したディレクトリに含まれているファイルの詳細な情報を得ます。
...す。
ディレクトリの各ファイルの情報が
Net::FTP::MLSxEntry のオブジェクトの配列として得られます。
どのような情報を取り出せるかは Net::FTP::MLSxEntry
を参照してください。
Net::FTP#list は
結果が文字列で得られるため、それ......@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::MLSxEntry:0x00558fbfa379c0
# @facts=
# {"modif......"unique"=>"801U1FE8E6",
# "unix.group"=>1042,
# "unix.mode"=>493,
# "unix.owner"=>106},
# @pathname => ".",
# #<Net::FTP::MLSxEntry:0x00558fbfa33e10
# @facts=
# {"modify"=>2004-12-22 08:56:36 UTC,
# "perm"=>"adfr",
# "size"=>1128,
# "ty... -
Net
:: FTP # abort -> String (8004.0) -
データの転送を中止します。
...データの転送を中止します。
@return サーバからの応答を文字列で返します。
@raise Net::FTPReplyError 応答コードが正しくない場合に発生します。... -
Net
:: FTP # acct(account) -> nil (8004.0) -
サーバーに ACCT コマンドでアカウント情報を送ります。
...サーバーに ACCT コマンドでアカウント情報を送ります。
@param account 送りたいアカウント情報を文字列で与えます。
@raise Net::FTPReplyError 応答コードが2yzでない場合に発生します。... -
Net
:: FTP # binary -> bool (8004.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) (8004.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 (8004.0) -
リモートサーバでのカレントディレクトリを dirname に変更します。
...バでのカレントディレクトリを dirname に変更します。
@param dirname 変更先のディレクトリを与えます。
@raise Net::FTPReplyError 応答コードがエラーである場合に発生します。カレントディレクトリ変更に失敗した場合に発生しま... -
Net
:: FTP # close -> () (8004.0) -
サーバとの接続を切ります。
...サーバとの接続を切ります。
再び Net::FTP#connect で接続しない限り
一切の操作が不可能になります。... -
Net
:: FTP # closed? -> bool (8004.0) -
接続が切れている時に真を返します。
接続が切れている時に真を返します。 -
Net
:: FTP # connect(host , port = FTP _ PORT) -> () (8004.0) -
host で指定されたホストに接続します。
...をしようとすると、
Net::FTPConnectionError 例外が発生します。
@param host 接続するホスト名です。
@param port 接続するポート番号です。
@raise Net::FTPTempError 応答コードが 4yz のときに発生します。
@raise Net::FTPPermError 応答コードが......5yz のときに発生します。
@raise Net::FTPProtoError 応答コードが RFC 的に正しくない場合に発生します。
@raise Net::FTPReplyError 応答コードが上の場合以外で正しくない場合(1xy, 3xyが来るべきでないときに来た場合など)に発生します...