FrontPage  Index  Search  Changes  Atom  PageRank  Login

ftpfxp

ftpfxp gemのNet::FTPFXPTLS.openメソッドを使うと、wrong number of argumnets(5 for 4)って言って怒られる。

putでファイルを置くと延々と処理が返って来ない。どうもopensslの方で悪さをしているみたいで、sysreadし続けているのか? Ctrl+Cでインタラプトするとこんなメッセージを吐く。

/usr/lib/ruby/1.8/openssl/buffering.rb:35:in `sysread': Interrupt
        from /usr/lib/ruby/1.8/openssl/buffering.rb:35:in `fill_rbuff'
        from /usr/lib/ruby/1.8/openssl/buffering.rb:158:in `eof?'
        from /usr/lib/ruby/1.8/openssl/buffering.rb:133:in `readline'
        from /usr/lib/ruby/1.8/net/ftp.rb:211:in `getline'
        from /usr/lib/ruby/1.8/net/ftp.rb:221:in `getmultiline'
        from /usr/lib/ruby/1.8/net/ftp.rb:235:in `getresp'
        from /usr/lib/ruby/1.8/net/ftp.rb:251:in `voidresp'
        from /usr/lib/ruby/1.8/net/ftp.rb:460:in `storbinary'
        from /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
        from /usr/lib/ruby/1.8/net/ftp.rb:450:in `storbinary'
        from /usr/lib/ruby/1.8/net/ftp.rb:562:in `putbinaryfile'
        from /usr/lib/ruby/1.8/net/ftp.rb:591:in `put'
        from upload_by_ftps.rb:21

アップロード自体はできている。

解決?

これが関係ありそうな予感。

http://redmine.ruby-lang.org/issues/show/2604

Last modified:2010/10/22 01:09:12
Keyword(s):
References:
Referer | 105 | 65 | 44 | 40 | 4 | 4 | 4 | 4 | 4 | 4 | 3 | 3 | 3 | 3 | 3 | 3 | 3 | 3 | 3 | 3 | 3 | 3 | 3 | 3 | 3 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 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