1088件ヒット
[1-100件を表示]
(0.089秒)
ライブラリ
-
net
/ ftp (1088)
クラス
-
Net
:: FTP (858) -
Net
:: FTP :: MLSxEntry (230)
キーワード
- abort (12)
- acct (12)
- appendable? (10)
- binary (12)
- binary= (12)
- charset (10)
- chdir (12)
- close (12)
- closed? (12)
- connect (12)
- creatable? (10)
- create (10)
-
debug
_ mode (12) -
debug
_ mode= (12) - 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)
- nlst (12)
- noop (12)
-
open
_ timeout (12) -
open
_ timeout= (12) - passive (12)
- passive= (12)
- pathname (10)
- perm (10)
- purgeable? (10)
- put (24)
- putbinaryfile (24)
- puttextfile (24)
- pwd (12)
- quit (12)
-
read
_ timeout (12) -
read
_ timeout= (12) - readable? (10)
- renamable? (10)
- rename (12)
- resume (12)
- resume= (12)
- retrbinary (24)
- retrlines (12)
-
return
_ code (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] (21144.0) -
pathname で指定したディレクトリに含まれているファイルの詳細な情報を得ます。
...す。
ディレクトリの各ファイルの情報が
Net::FTP::MLSxEntry のオブジェクトの配列として得られます。
どのような情報を取り出せるかは Net::FTP::MLSxEntry
を参照してください。
Net::FTP#list は
結果が文字列で得られるため、それ......@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=
# {"modif......"unique"=>"801U1FE8E6",
# "unix.group"=>1042,
# "unix.mode"=>493,
# "unix.owner"=>106},
# @pathname => ".",
# #<Net::FTP::MLSxEntry:0x00558fbfa33e10
# @facts=
# {"modify"=>2004-12-22 08:56:36 UTC,
# "perm"=>"adfr",
# "size"=>1128,
# "ty... -
Net
:: FTP # mlst(pathname = nil) -> Net :: FTP :: MLSxEntry (21126.0) -
pathname で指定したファイル/ディレクトリの詳細な情報を得ます。
.../ディレクトリの詳細な情報を得ます。
Net::FTP::MLSxEntry のインスタンスに得られた情報が
保持されます。どのような情報を取り出せるかは Net::FTP::MLSxEntry
を参照してください。
Net::FTP#list は
結果が文字列で得られるため、......は適切に解釈された結果を直接得ることができます。
pathname を省略した場合はカレントディレクトリを指定したことになります。
FTP の MLST コマンド 3659 を使います。
@param pathname 情報を得るファイルパス
@see Net::FTP#mlsd... -
Net
:: FTP # mlsd(pathname = nil) {|entry| . . . } -> () (21044.0) -
pathname で指定したディレクトリに含まれているファイルの詳細な情報を得ます。
...す。
ディレクトリの各ファイルの情報が
Net::FTP::MLSxEntry のオブジェクトの配列として得られます。
どのような情報を取り出せるかは Net::FTP::MLSxEntry
を参照してください。
Net::FTP#list は
結果が文字列で得られるため、それ......@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=
# {"modif......"unique"=>"801U1FE8E6",
# "unix.group"=>1042,
# "unix.mode"=>493,
# "unix.owner"=>106},
# @pathname => ".",
# #<Net::FTP::MLSxEntry:0x00558fbfa33e10
# @facts=
# {"modify"=>2004-12-22 08:56:36 UTC,
# "perm"=>"adfr",
# "size"=>1128,
# "ty... -
Net
:: FTP # open _ timeout=(seconds) (21043.0) -
接続時のタイムアウトの秒数を設定します。
...で利用されます。
* Net::FTP.open
* Net::FTP.new
* Net::FTP#connect
また、以下のデータ転送用コネクションを開くメソッドでも利用されます。
* Net::FTP#retrbinary
* Net::FTP#retrlines
* Net::FTP#storbinary
* Net::FTP#storlines
@param second 待... -
Net
:: FTP # binary -> bool (21039.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 # binary=(bool) (21039.0) -
Net::FTP#put, Net::FTP#get による転送を バイナリモード(IMAGE)で転送するかどうかを指定します。
...Net::FTP#put, Net::FTP#get による転送を
バイナリモード(IMAGE)で転送するかどうかを指定します。
デフォルトの値は true です。
偽の場合、テキストモード(ASCII)が仮定されます。
EBCDIC や LOCAL など他の表現タイプはサポートされ......ていません。
@param bool 真ならばバイナリモードを on にします。
@see Net::FTP#binary... -
Net
:: FTP # resume -> bool (21031.0) -
現在のリジュームモードの状態を返します。
...。
* Net::FTP#get
* Net::FTP#put
* Net::FTP#getbinaryfile
* Net::FTP#putbinaryfile
転送が中断したかどうかは転送先に問題のファイルが存在するか
どうかで判定され、そのファイルサイズで再開する位置を
決めます。
@see Net::FTP#resume=... -
Net
:: FTP # get(remotefile , localfile = File . basename(remotefile) , blocksize = DEFAULT _ BLOCKSIZE) -> nil (21019.0) -
サーバ上のファイルを取得します。
...サーバ上のファイルを取得します。
Net::FTP#binary の値に従って
Net::FTP#getbinaryfile もしくは
Net::FTP#gettextfile を呼びだします。
binary が偽のとき、つまりテキストモードの
ときには blocksize は無視されます。
@param remotefile 取......ます。
@raise Net::FTPTempError 応答コードが 4yz のときに発生します。
@raise Net::FTPPermError 応答コードが 5yz のときに発生します。
@raise Net::FTPProtoError 応答コードが RFC 的に正しくない場合に発生します。
@raise Net::FTPReplyError 応答... -
Net
:: FTP # get(remotefile , localfile = File . basename(remotefile) , blocksize = DEFAULT _ BLOCKSIZE) { |data| . . . . } -> nil (21019.0) -
サーバ上のファイルを取得します。
...サーバ上のファイルを取得します。
Net::FTP#binary の値に従って
Net::FTP#getbinaryfile もしくは
Net::FTP#gettextfile を呼びだします。
binary が偽のとき、つまりテキストモードの
ときには blocksize は無視されます。
@param remotefile 取......ます。
@raise Net::FTPTempError 応答コードが 4yz のときに発生します。
@raise Net::FTPPermError 応答コードが 5yz のときに発生します。
@raise Net::FTPProtoError 応答コードが RFC 的に正しくない場合に発生します。
@raise Net::FTPReplyError 応答...