18件ヒット
[1-18件を表示]
(0.094秒)
検索結果
先頭2件
-
Net
:: FTP # mlsd(pathname = nil) -> [Net :: FTP :: MLSxEntry] (18127.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......::MLSxEntry:0x00558fbfa379c0
# @facts=
# {"modify"=>2014-08-25 16:44:41 UTC,
# "perm"=>"fle",
# "type"=>"cdir",
# "unique"=>"801U1FE8E6",
# "unix.group"=>1042,
# "unix.mode"=>493,
# "unix.owner"=>106},
# @pathname => ".",
# #<Net::F... -
Net
:: FTP # mlsd(pathname = nil) {|entry| . . . } -> () (18127.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......::MLSxEntry:0x00558fbfa379c0
# @facts=
# {"modify"=>2014-08-25 16:44:41 UTC,
# "perm"=>"fle",
# "type"=>"cdir",
# "unique"=>"801U1FE8E6",
# "unix.group"=>1042,
# "unix.mode"=>493,
# "unix.owner"=>106},
# @pathname => ".",
# #<Net::F...