SsuchingYu
V2EX  ›  问与答

阿里云 OSS Python 如何删除文件目录?

  •  
  •   SsuchingYu · Dec 4, 2018 · 3907 views
    This topic created in 2806 days ago, the information mentioned may be changed or developed.

    oss2.api.Bucket#delete_object 似乎只能删除单个文件,不能删除文件夹?

    2 replies    2018-12-04 12:39:11 +08:00
    lsongiu
        1
    lsongiu  
       Dec 4, 2018   ❤️ 1
    oss 没有文件夹的概念吧,就算有也是虚拟的吧,就是个 key,它应该不是目录结构的
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2946 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 14:23 · PVG 22:23 · LAX 07:23 · JFK 10:23
    ♥ Do have faith in what you're doing.