需要具有 API 和安全性的云文件共享

发布于 2024-07-21 04:24:14 字数 168 浏览 5 评论 0原文

我的客户不希望在生产设备上安装 ftp(可以理解)。 我们生成想要提供给客户的 ftp 文件,但他们没有能力接收。

我需要以下功能:

  • 自动上传数据的 API
  • 能够进行简单的 ftp 或 http 访问
  • 能够保护目录/文件

My client does not want to have ftp on the production box (understandable). We generate ftp files that we want to make available to our clients, but they do not have the ability to receive.

I need the following:

  • API to automatically upload the data
  • Ability to have simple ftp or http access
  • Ability to secure a directory / file

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

梦回旧景 2024-07-28 04:24:14

我使用客户端服务器上的简单 C# 应用程序使用 HTTPS 将统计信息上传到我们的 Web 服务器。

   using System.Net;

   WebClient client = new WebClient();

   client.UploadFile("https://website/upload", "PUT", localpathtofile);

我们的 IIS 服务器只有一个不可浏览、可写的 IIS 文件夹和一个 SSL 证书。

I upload stats using a simple C# app on a clients server using HTTPS to our web server.

   using System.Net;

   WebClient client = new WebClient();

   client.UploadFile("https://website/upload", "PUT", localpathtofile);

Our IIS server just has a non-browsable, writable, IIS folder and an SSL certificate.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文