1074件ヒット
[1-100件を表示]
(0.026秒)
種類
- インスタンスメソッド (1004)
- 特異メソッド (46)
- 定数 (24)
クラス
-
Net
:: FTP (844) -
Net
:: FTP :: MLSxEntry (230)
キーワード
-
DEFAULT
_ BLOCKSIZE (12) -
FTP
_ PORT (12) - abort (12)
- acct (12)
- appendable? (10)
- binary (12)
- charset (10)
- chdir (12)
- close (12)
- closed? (12)
- connect (12)
- creatable? (10)
- create (10)
-
debug
_ mode (12) -
default
_ passive (10) - deletable? (10)
- delete (12)
- dir (24)
- directory? (10)
-
directory
_ makable? (10) - enterable? (10)
- facts (10)
- file? (10)
- get (24)
- getbinaryfile (24)
- getdir (12)
- gettextfile (24)
- help (12)
- lang (10)
-
last
_ response (12) -
last
_ response _ code (12) - lastresp (12)
- list (24)
- listable? (10)
- login (12)
- ls (24)
- mdtm (12)
-
media
_ type (10) - mkdir (12)
- mlsd (20)
- mlst (10)
- modify (10)
- mtime (12)
- new (12)
- nlst (12)
- noop (12)
- open (24)
-
open
_ timeout (12) - passive (12)
- pathname (10)
- perm (10)
- purgeable? (10)
- put (24)
- putbinaryfile (24)
- puttextfile (24)
- pwd (12)
- quit (12)
-
read
_ timeout (12) - readable? (10)
- renamable? (10)
- rename (12)
- resume (12)
- retrbinary (24)
- retrlines (12)
-
return
_ code (12) - rmdir (12)
- sendcmd (12)
-
set
_ socket (12) - site (12)
- size (22)
- status (12)
- storbinary (24)
- storlines (24)
- system (12)
- type (10)
- unique (10)
- voidcmd (12)
- welcome (12)
- writable? (10)
検索結果
先頭5件
-
Net
:: FTP # mlsd(pathname = nil) -> [Net :: FTP :: MLSxEntry] (126.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"......=>493,
# "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,... -
Net
:: FTP # mlsd(pathname = nil) {|entry| . . . } -> () (126.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"......=>493,
# "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,... -
Net
:: FTP :: MLSxEntry # facts -> { String => String|Integer|Time } (108.0) -
そのエントリの「facts」を返します。
...)
* "size": ファイルサイズ (Integer, octet単位)
* "unique": ユニークID (String)
* "lang": ファイルの言語 (String)
* "media-type": メディアタイプ (String)
* "charset": 文字エンコーディング (String)
サーバが UNIX 系 OS の場合は以下のよう... -
Net
:: FTP # abort -> String (102.0) -
データの転送を中止します。
データの転送を中止します。
@return サーバからの応答を文字列で返します。
@raise Net::FTPReplyError 応答コードが正しくない場合に発生します。 -
Net
:: FTP # acct(account) -> nil (102.0) -
サーバーに ACCT コマンドでアカウント情報を送ります。
サーバーに ACCT コマンドでアカウント情報を送ります。
@param account 送りたいアカウント情報を文字列で与えます。
@raise Net::FTPReplyError 応答コードが2yzでない場合に発生します。 -
Net
:: FTP # binary -> bool (102.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 # chdir(dirname) -> nil (102.0) -
リモートサーバでのカレントディレクトリを dirname に変更します。
リモートサーバでのカレントディレクトリを dirname に変更します。
@param dirname 変更先のディレクトリを与えます。
@raise Net::FTPReplyError 応答コードがエラーである場合に発生します。カレントディレクトリ変更に失敗した場合に発生します。 -
Net
:: FTP # close -> () (102.0) -
サーバとの接続を切ります。
サーバとの接続を切ります。
再び Net::FTP#connect で接続しない限り
一切の操作が不可能になります。 -
Net
:: FTP # closed? -> bool (102.0) -
接続が切れている時に真を返します。
接続が切れている時に真を返します。