如何获取不同服务器的绝对路径

发布于 2024-08-12 02:39:20 字数 118 浏览 3 评论 0原文

由于带宽问题,我们在不同的服务器上托管了一些可下载的文件。 现在我们想要使用 ASP 脚本从当前服务器下载这些文件。

但是我们如何使用 ASP 脚本知道该特定服务器的绝对路径呢?

问候 斯克

We have hosted some downloadable files on our different server due to bandwidth problem.
Now we want to download those files using an ASP script from our current server.

But how could we know the absolute path of that particular server using ASP script ?

regards
sk

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

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

发布评论

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

评论(1

心的憧憬 2024-08-19 02:39:20

不能 100% 确定您要问的内容...

如果远程文件位于远程服务器上的网站内,您可以直接引用它们。如果它们在您的应用程序中进行管理,您可能需要构建一些额外的 Web 服务/httphandler 或“asp”页面来检索和提供图像(二进制写入、设置 mime 类型等)

Not 100% sure of what you're asking...

If the remote files are within a website on the remote server, you van reference them directly. If they are managed within your application, you may need to build some additional web service/httphandler or "asp" page that retrieves and serves the image (binary write, setting mime type etc)

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