AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题 / 61999
Accepted
Carl Hörberg
Carl Hörberg
Asked: 2009-09-04 06:23:09 +0800 CST2009-09-04 06:23:09 +0800 CST 2009-09-04 06:23:09 +0800 CST

可编写脚本的 Amazon S3 Windows 客户端?

  • 772

快速提问,Windows 上适用于 Amazon S3 的简单控制台客户端?

windows
  • 5 5 个回答
  • 1365 Views

5 个回答

  • Voted
  1. Best Answer
    Dave Drager
    2009-09-04T06:58:39+08:002009-09-04T06:58:39+08:00

    快速回答,查看s3.exe

    • 4
  2. fenster
    2009-09-04T09:31:42+08:002009-09-04T09:31:42+08:00

    Cloudberry 已经编写了 Powershell cmdlet,它们可能会满足您的需求:

    http://www.cloudberrylab.com/default.aspx?page=amazon-s3-powershell

    • 2
  3. Nate
    2009-09-04T09:07:09+08:002009-09-04T09:07:09+08:00

    你没有说你用它做什么,但一种可能性是你想自动化一个过程,比如软件构建或备份。

    如果你不介意一点编程(真的只是一点点),试试boto,它是一个 Python 模块。我们在 Windows 上的构建脚本中使用它,而且非常简单。你可以这样做:

    # Example: Upload an .exe file and make it world readable.
    from boto.s3 import Connection
    conn = Connection(YOUR_ACCESS_KEY_ID, YOUR_SECRET_ACCESS_KEY)
    bucket = conn.get_bucket('some-bucket')
    key = bucket.new_key('the_file.exe')
    key.set_contents_from_filename('local_path_to_the_file.exe')
    key.set_acl('public-read')
    

    您还可以生成那些漂亮的自动过期 URL——我们用于付费下载的东西:

    # Example: Get a URL for a file on S3. Make the URL expire after 1 day.
    from boto.s3 import Connection
    conn = Connection(YOUR_ACCESS_KEY_ID, YOUR_SECRET_ACCESS_KEY)
    bucket = conn.get_bucket('some-bucket')
    key = bucket.get_key('path/to/your/file')
    url = key.generate_url(expires_in=86400)
    # Note: 86400 is the number of seconds in 1 day
    

    Python 有一个交互式命令行,因此也很容易进行试验。

    • 1
  4. CoreyH
    2010-05-13T09:12:07+08:002010-05-13T09:12:07+08:00

    我使用一个名为 Jsh3ll 的基于 java 的工具。(显然在 Windows 中工作)

    https://jsh3ll.dev.java.net/

    我需要的主要功能是使用“命令文件”的能力。即我使用脚本生成一个包含我需要上传的所有文件的文本文件,然后我可以运行一个命令来处理整个文件。当我大约 18 个月前进行研究时,这是唯一具有此功能的工具。

    • 0
  5. koolhead17
    2015-11-26T09:03:02+08:002015-11-26T09:03:02+08:00

    你可以试试minio 客户端又名“mc”。mc 提供了最少的工具来处理与 Amazon S3 兼容的云存储和文件系统。

    mc 实现以下命令:

      ls        List files and folders.
      mb        Make a bucket or folder.
      cat       Display contents of a file.
      pipe      Write contents of stdin to one or more targets. When no target is specified, it writes to stdout.
      share     Generate URL for sharing.
      cp        Copy one or more objects to a target.
      mirror    Mirror folders recursively from a single source to many destinations.
      diff      Compute differences between two folders.
      rm        Remove file or bucket [WARNING: Use with care].
      access    Manage bucket access permissions.
      session   Manage saved sessions of cp and mirror operations.
      config    Manage configuration file.
      update    Check for a new software update.
      version   Print version.
    
    mc <command> --help will provide example for working on individual commands. 
    

    PS:我为这个项目做出了贡献,您的反馈和贡献将对我们有所帮助。

    • 0

相关问题

  • 知道任何适用于 Windows 的快速可编写脚本的 ftp 客户端吗?[关闭]

  • 如果 Windows 服务崩溃,如何自动重新启动它?

  • 如何在笔记本电脑上使用 Tobit David?[关闭]

  • 无法安排任务(访问被拒绝)

  • 物理机重启时自动重启虚拟机(VMWare)

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    从 IP 地址解析主机名

    • 8 个回答
  • Marko Smith

    如何按大小对 du -h 输出进行排序

    • 30 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    Windows 中执行反向 DNS 查找的命令行实用程序是什么?

    • 14 个回答
  • Marko Smith

    如何检查 Windows 机器上的端口是否被阻塞?

    • 4 个回答
  • Marko Smith

    我应该打开哪个端口以允许远程桌面?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    MikeN 在 Nginx 中,如何在维护子域的同时将所有 http 请求重写为 https? 2009-09-22 06:04:43 +0800 CST
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    0x89 bash中的双方括号和单方括号有什么区别? 2009-08-10 13:11:51 +0800 CST
  • Martin Hope
    kch 如何更改我的私钥密码? 2009-08-06 21:37:57 +0800 CST
  • Martin Hope
    Kyle Brandt IPv4 子网如何工作? 2009-08-05 06:05:31 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve