938件ヒット
[1-100件を表示]
(0.025秒)
種類
- インスタンスメソッド (858)
- 特異メソッド (56)
- 定数 (24)
ライブラリ
-
net
/ ftp (938)
キーワード
-
DEFAULT
_ BLOCKSIZE (12) -
FTP
_ PORT (12) - abort (12)
- acct (12)
- binary (12)
- binary= (12)
- chdir (12)
- close (12)
- closed? (12)
- connect (12)
-
debug
_ mode (12) -
debug
_ mode= (12) -
default
_ passive (10) -
default
_ passive= (10) - delete (12)
- dir (24)
- get (24)
- getbinaryfile (24)
- getdir (12)
- gettextfile (24)
- help (12)
-
last
_ response (12) -
last
_ response _ code (12) - lastresp (12)
- list (24)
- login (12)
- ls (24)
- mdtm (12)
- mkdir (12)
- mlsd (20)
- mlst (10)
- mtime (12)
- new (12)
- nlst (12)
- noop (12)
- open (24)
-
open
_ timeout (12) -
open
_ timeout= (12) - passive (12)
- passive= (12)
- put (24)
- putbinaryfile (24)
- puttextfile (24)
- pwd (12)
- quit (12)
-
read
_ timeout (12) -
read
_ timeout= (12) - rename (12)
- resume (12)
- resume= (12)
- retrbinary (24)
- retrlines (12)
-
return
_ code (12) -
return
_ code= (12) - rmdir (12)
- sendcmd (12)
-
set
_ socket (12) - site (12)
- size (12)
- status (12)
- storbinary (24)
- storlines (24)
- system (12)
- voidcmd (12)
- welcome (12)
検索結果
先頭5件
-
Net
:: FTP # mlsd(pathname = nil) -> [Net :: FTP :: MLSxEntry] (8007.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| . . . } -> () (8007.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 (8001.0) -
データの転送を中止します。
...データの転送を中止します。
@return サーバからの応答を文字列で返します。
@raise Net::FTPReplyError 応答コードが正しくない場合に発生します。... -
Net
:: FTP # acct(account) -> nil (8001.0) -
サーバーに ACCT コマンドでアカウント情報を送ります。
...サーバーに ACCT コマンドでアカウント情報を送ります。
@param account 送りたいアカウント情報を文字列で与えます。
@raise Net::FTPReplyError 応答コードが2yzでない場合に発生します。... -
Net
:: FTP # binary -> bool (8001.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) (8001.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 (8001.0) -
リモートサーバでのカレントディレクトリを dirname に変更します。
...バでのカレントディレクトリを dirname に変更します。
@param dirname 変更先のディレクトリを与えます。
@raise Net::FTPReplyError 応答コードがエラーである場合に発生します。カレントディレクトリ変更に失敗した場合に発生しま... -
Net
:: FTP # close -> () (8001.0) -
サーバとの接続を切ります。
...サーバとの接続を切ります。
再び Net::FTP#connect で接続しない限り
一切の操作が不可能になります。... -
Net
:: FTP # closed? -> bool (8001.0) -
接続が切れている時に真を返します。
接続が切れている時に真を返します。