993件ヒット
[1-100件を表示]
(0.045秒)
クラス
-
Net
:: FTP (786) -
Net
:: FTP :: MLSxEntry (207)
キーワード
- abort (11)
- acct (11)
- appendable? (9)
- binary (11)
- binary= (11)
- charset (9)
- chdir (11)
- close (11)
- closed? (11)
- connect (11)
- creatable? (9)
- create (9)
-
debug
_ mode (11) -
debug
_ mode= (11) - deletable? (9)
- delete (11)
- dir (22)
- directory? (9)
-
directory
_ makable? (9) - enterable? (9)
- facts (9)
- file? (9)
- get (22)
- getbinaryfile (22)
- getdir (11)
- gettextfile (22)
- help (11)
- lang (9)
-
last
_ response (11) -
last
_ response _ code (11) - lastresp (11)
- list (22)
- listable? (9)
- login (11)
- ls (22)
- mdtm (11)
-
media
_ type (9) - mkdir (11)
- mlsd (18)
- mlst (9)
- modify (9)
- mtime (11)
- nlst (11)
- noop (11)
-
open
_ timeout (11) -
open
_ timeout= (11) - passive (11)
- passive= (11)
- pathname (9)
- perm (9)
- purgeable? (9)
- put (22)
- putbinaryfile (22)
- puttextfile (22)
- pwd (11)
- quit (11)
-
read
_ timeout (11) -
read
_ timeout= (11) - readable? (9)
- renamable? (9)
- rename (11)
- resume (11)
- resume= (11)
- retrbinary (22)
- retrlines (11)
-
return
_ code (11) -
return
_ code= (11) - rmdir (11)
- sendcmd (11)
-
set
_ socket (11) - site (11)
- size (20)
- status (11)
- storbinary (22)
- storlines (22)
- system (11)
- type (9)
- unique (9)
- voidcmd (11)
- welcome (11)
- writable? (9)
検索結果
先頭5件
-
Net
:: FTP # mlsd(pathname = nil) -> [Net :: FTP :: MLSxEntry] (9146.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 (9128.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| . . . } -> () (9046.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) (9045.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 (9041.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) (9041.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 (9033.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 (9021.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 (9021.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 # put(localfile , remotefile = File . basename(localfile) , blocksize = DEFAULT _ BLOCKSIZE) -> nil (9021.0) -
サーバへファイルを転送します。
...サーバへファイルを転送します。
Net::FTP#binary の値に従って
Net::FTP#putbinaryfile もしくは
Net::FTP#puttextfile を呼びだします。
binary が偽のとき、つまりテキストモードの
ときには blocksize は無視されます。
@param localfile 転送す......ます。
@raise Net::FTPTempError 応答コードが 4yz のときに発生します。
@raise Net::FTPPermError 応答コードが 5yz のときに発生します。
@raise Net::FTPProtoError 応答コードが RFC 的に正しくない場合に発生します。
@raise Net::FTPReplyError 応答...