iframe 中的 FTP 用户凭据

发布于 2024-12-04 02:08:30 字数 229 浏览 4 评论 0原文

我有一个包含受保护的 ftp 地址的 iframe,

<iframe id="ftpfrm" src="ftp://ftpserver" </iframe>

但是当我显示该页面时,它不要求输入 ftp 用户名和密码。该框架显示错误页面。 我需要知道是否有办法强制 iframe 请求用户凭据,或者将用户凭据传递给 uframe 标记。

谢谢。

I have an iframe that contains protected ftp address

<iframe id="ftpfrm" src="ftp://ftpserver" </iframe>

But when I display the page, it doesn't ask for ftp user name and password. The frame displays an error page.
I need to know if there's a way to force the iframe to ask for user credentials, or to pass the user credentials to the uframe tag.

thanks.

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

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

发布评论

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

评论(1

赠佳期 2024-12-11 02:08:30

您可以尝试以下方法来登录用户(我推荐):

<iframe id="ftpfrm" src="ftp://user:password@ftpserver" />

You could try the following to login the user (which i would not recommend):

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