SsuchingYu
V2EX  ›  问与答

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

  •  
  •   SsuchingYu · Dec 4, 2018 · 4026 views
    This topic created in 2916 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
    lsongiu
    Dec 4, 2018❤️1
    1
    oss 没有文件夹的概念吧,就算有也是虚拟的吧,就是个 key,它应该不是目录结构的
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1004 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 23:24 · PVG 07:24 · LAX 15:24 · JFK 18:24
    ♥ Do have faith in what you're doing.