るりまサーチ

最速Rubyリファレンスマニュアル検索!
18件ヒット [1-18件を表示] (0.010秒)
トップページ > クエリ:utc[x] > ライブラリ:net/ftp[x]

別のキーワード

  1. time utc
  2. _builtin utc
  3. time utc?
  4. _builtin utc?
  5. time utc_offset

クラス

検索結果

Net::FTP#mlsd(pathname = nil) -> [Net::FTP::MLSxEntry] (14.0)

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",...
..."unix.owner"=>106},
# @pathname => ".",
# #<Net::FTP::MLSxEntry:0x00558fbfa33e10
# @facts=
# {"modify"=>2004-12-22 08:56:36 UTC,
# "perm"=>"adfr",
# "size"=>1128,
# "type"=>"file",
# "unique"=>"801U1FEF97",
# "unix.group"=>0,
# "unix.mode"...

Net::FTP#mlsd(pathname = nil) {|entry| ... } -> () (14.0)

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",...
..."unix.owner"=>106},
# @pathname => ".",
# #<Net::FTP::MLSxEntry:0x00558fbfa33e10
# @facts=
# {"modify"=>2004-12-22 08:56:36 UTC,
# "perm"=>"adfr",
# "size"=>1128,
# "type"=>"file",
# "unique"=>"801U1FEF97",
# "unix.group"=>0,
# "unix.mode"...