1375件ヒット
[1-100件を表示]
(0.016秒)
クラス
-
Net
:: FTP (938) -
Net
:: FTP :: MLSxEntry (230)
モジュール
- Kernel (16)
- OpenURI (24)
-
OpenURI
:: OpenRead (24) - URI (16)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) -
DEFAULT
_ BLOCKSIZE (12) - FTP (12)
- FTPConnectionError (12)
- FTPError (12)
- FTPPermError (12)
- FTPProtoError (12)
- FTPReplyError (12)
- FTPTempError (12)
-
FTP
_ PORT (12) - MLSxEntry (10)
-
NEWS for Ruby 2
. 4 . 0 (9) - 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) -
default
_ passive (10) -
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 (80)
-
open
_ timeout (12) -
open
_ timeout= (12) -
open
_ uri (24) - 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)
検索結果
-
net
/ ftp (44232.0) -
FTP プロトコルを扱うライブラリです。
...FTP プロトコルを扱うライブラリです。
基本的には unix の ftp コマンドのような
command-line interface の FTP クライアントを使ったことのある
人にとってわかりやすいインターフェースになっています。
より「Ruby 的」であるイ......ンターフェースも用意しています。
FTP については 959、3659 を参考にしてください。
=== バイナリモードとテキストモード
FTP のデータ転送にはテキストモードとバイナリモード
があります。テキストモードで転送する場合......uire 'net/ftp'
ftp = Net::FTP.new('ftp.example.org')
ftp.login
ftp.passive = true
ftp.chdir('pub/ruby')
files = ftp.list('ruby*')
ftp.getbinaryfile('ruby-1.9.1-p243.tar.bz2', 'ruby.bz2', 1024)
ftp.close
例2:
require 'net/ftp'
Net::FTP.open('ftp.example.org') do |ftp|
ftp.logi......ドは Net::FTP.default_passive= で指定することが
できます。パッシブモードがデフォルトです。
=== 例
例1:
require 'net/ftp'
ftp = Net::FTP.new('ftp.example.org')
ftp.login
ftp.passive = true
ftp.chdir('pub/ruby')
files = ftp.list('ruby*')
ftp.getbinaryfi... -
Net
:: FTP :: FTP _ PORT -> Integer (17117.0) -
FTPのデフォルトのポート番号(21)です。
...FTPのデフォルトのポート番号(21)です。... -
Net
:: FTPError (14032.0) -
net/ftp ライブラリ関連のエラー全般を表す例外クラスです。
...net/ftp ライブラリ関連のエラー全般を表す例外クラスです。
サーバの応答コードがエラーを示している場合に発生します。
例外発生の原因となったサーバ応答は Exception#message
から得られます。... -
Net
:: FTP (14016.0) -
FTP を実装したクラスです。
...FTP を実装したクラスです。... -
Net
:: FTPPermError (14016.0) -
FTP の応答コード 5yz (Permanent Negative Completion reply) を表す例外クラスです。
...FTP の応答コード 5yz
(Permanent Negative Completion reply)
を表す例外クラスです。
詳しくは 959 を参照してください。... -
Net
:: FTPProtoError (14016.0) -
サーバの応答が FTP のプロトコルに沿っていない場合に 発生する例外のクラスです。
...サーバの応答が FTP のプロトコルに沿っていない場合に
発生する例外のクラスです。... -
Net
:: FTPReplyError (14016.0) -
FTPの応答が 1yz や 3yz であり、それが 想定外であることを表わす例外クラスです。
...FTPの応答が 1yz や 3yz であり、それが
想定外であることを表わす例外クラスです。... -
Net
:: FTPTempError (14016.0) -
FTP の応答コード 4yz (Transient Negative Completion reply) を表す例外クラスです。
...FTP の応答コード 4yz
(Transient Negative Completion reply)
を表す例外クラスです。
詳しくは 959 を参照してください。... -
Net
:: FTPConnectionError (14000.0) -
コネクションを確立する前に通信しようとした場合に 発生する例外のクラスです。
コネクションを確立する前に通信しようとした場合に
発生する例外のクラスです。