是否可以跟踪上传的文件位置?
有时我会将文件上传到网站,例如附件.. 网站没有告诉我文件上传到哪里 但它说是的,它已上传 作为上传者,是否可以跟踪文件位置? 它在网站中的路径是什么?
Sometimes i upload files to a website like attachments ..
The websites doesn't tell me where was the file uploaded
but it says yes it was uploaded
as im the uploader, is it possible to track the file location ?
whats the path of it in the website ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
以堆栈溢出为例。如果您上传图像作为问题或答案的一部分,则在查看相关项目时该图像会显示在屏幕上。如果它显示在您的浏览器中,您始终可以使用您最喜欢的 Web 开发工具包找到该 URL。
因此,如果您可以在浏览器中访问该资源,那么您就有了一个 url。
然而,这并不一定转化为网站服务器上的确切位置。无法确定它保存在哪里。
如果你上传了一些东西,但它永远不会显示给你,你就无从得知。
您是否有权利知道完全是另一回事。这可能取决于该网站的 EULA。但作为一个观点,没有人强迫你上传任何东西。如果你选择这样做,我认为你放弃了知道他们把你的贡献放在哪里的权利。
Take stack overflow for example. If you upload an image as part of a question or answer, then the image is displayed on the screen when viewing the relevant item. If its being displayed in your browser, you can always find the URL by using your favorite web development toolkit.
So if you can access the resource in the browser, you have a url.
That doesn't necessarily translate into the exact location on the site's server, however. There is no way to know for sure where it is kept.
And if you upload something and it is never displayed back to you, there is no way to know.
Whether or not you have the right to know is a different matter entirely. It probably depends on the site's EULA. But as an opinion, noone forces you to upload anything. If you choose to do so, I think you give up the right to know where they put your contribution.