3件ヒット
[1-3件を表示]
(0.021秒)
クラス
-
Net
:: FTP (2) -
Net
:: FTP :: MLSxEntry (1)
検索結果
先頭3件
-
Net
:: FTP :: MLSxEntry # unique -> String|nil (72613.0) -
ユニークIDを返します。
ユニークIDを返します。
情報がない場合は nil を返しますが、通常は
あるはずです。 -
Net
:: FTP # mlsd(pathname = nil) -> [Net :: FTP :: MLSxEntry] (82.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| . . . } -> () (82.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...