234件ヒット
[201-234件を表示]
(0.173秒)
ライブラリ
クラス
- Array (44)
- Matrix (11)
-
Net
:: FTP (18) -
Net
:: FTP :: MLSxEntry (18) -
Net
:: HTTPGenericRequest (22) - OptionParser (33)
- Pathname (22)
-
RSS
:: Maker :: RSS20 :: Items :: Item :: Guid (22) -
RSS
:: Rss :: Channel :: Item :: Guid (11)
モジュール
-
OpenURI
:: OpenRead (22) -
OptionParser
:: Arguable (11)
キーワード
- facts (9)
- isPermaLink (22)
- isPermaLink= (11)
- mlsd (18)
- open (44)
- permutation (22)
- permutation? (11)
- permute (22)
- permute! (22)
-
repeated
_ permutation (22) -
request
_ body _ permitted? (11) -
response
_ body _ permitted? (11)
検索結果
先頭4件
-
Pathname
# open(mode = & # 39;r& # 39; , perm = 0666) {|file| . . . } -> object (6203.0) -
File.open(self.to_s, *args, &block) と同じです。
...File.open(self.to_s, *args, &block) と同じです。
@see File.open... -
Net
:: FTP :: MLSxEntry # facts -> { String => String|Integer|Time } (3213.0) -
そのエントリの「facts」を返します。
...そのエントリの「facts」を返します。
facts とはそのエントリに関するファイルサイズなどの様々な情報です。
Net::FTP はこの情報を文字列をキーとするハッシュテーブルで
返します。
標準では以下のような facts が定義され......ません。
3659 では
modify, perm, type, size, unique はすべてのサーバで
対応すべき(SHOULD)、とされています。
* "modify" : 変更時刻 (Time)
* "create": 作成時刻
* "perm": パーミッション(String)
* "type": 種類(String, "file", "dir", "cdir", "pdir"......)
* "size": ファイルサイズ (Integer, octet単位)
* "unique": ユニークID (String)
* "lang": ファイルの言語 (String)
* "media-type": メディアタイプ (String)
* "charset": 文字エンコーディング (String)
サーバが UNIX 系 OS の場合は以下のよう... -
Net
:: FTP # mlsd(pathname = nil) -> [Net :: FTP :: MLSxEntry] (3113.0) -
pathname で指定したディレクトリに含まれているファイルの詳細な情報を得ます。
...athname で指定したディレクトリに含まれているファイルの詳細な情報を得ます。
ディレクトリの各ファイルの情報が
Net::FTP::MLSxEntry のオブジェクトの配列として得られます。
どのような情報を取り出せるかは Net::FTP::MLSxEntr......y
を参照してください。
Net::FTP#list は
結果が文字列で得られるため、それを適当に解釈する必要がありますが、
このコマンドの結果は適切に解釈された結果を直接得ることができます。
pathname を省略した場合はカレントデ......義されました。
@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
# @fa... -
Net
:: FTP # mlsd(pathname = nil) {|entry| . . . } -> () (3113.0) -
pathname で指定したディレクトリに含まれているファイルの詳細な情報を得ます。
...athname で指定したディレクトリに含まれているファイルの詳細な情報を得ます。
ディレクトリの各ファイルの情報が
Net::FTP::MLSxEntry のオブジェクトの配列として得られます。
どのような情報を取り出せるかは Net::FTP::MLSxEntr......y
を参照してください。
Net::FTP#list は
結果が文字列で得られるため、それを適当に解釈する必要がありますが、
このコマンドの結果は適切に解釈された結果を直接得ることができます。
pathname を省略した場合はカレントデ......義されました。
@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
# @fa...