Tornado Documentation
› http://www.v2ex.com/tornado/
Tornado on GitHub
› https://github.com/facebook/tornado/
Tornado Gists
› http://tornadogists.org/
notedit
V2EX  ›  Tornado

tornado 处理上传文件的例子

  •  
  •   notedit · Jan 13, 2012 · 7694 views
    This topic created in 5408 days ago, the information mentioned may be changed or developed.
    哪里有? 能不能给个例子
    5 replies  •  1970-01-01 08:00:00 +08:00
    Livid
    Livid
    MOD
    PRO
    Jan 14, 2012
    2
    上传的文件在 self.request.files['name'] 里。

    name 就是你之前 HTML 的 <input name="name" 里指定的那个。
    jckwei
    jckwei
    Feb 27, 2012
    3
    我在SAE blog 上写了一个简单示例 http://saepy.sinaapp.com/t/24
    lepture
    lepture
    Feb 27, 2012
    5
    推荐用 nginx upload module
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1402 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 22:50 · PVG 06:50 · LAX 14:50 · JFK 17:50
    ♥ Do have faith in what you're doing.