首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >我如何将我的FTP服务器添加到网站中,就像网站是一个用来装饰它的框架?

问我如何将我的FTP服务器添加到网站中,就像网站是一个用来装饰它的框架?
EN

Stack Overflow用户
提问于 2021-02-06 04:02:03
回答 1查看 39关注 0票数 0

我一直在尝试将我的FTP服务器集成到一个基本的HTML网页中,这样看起来会更好一些,感觉更像是一个云存储站点。我试过<object>,<embed>和<iframe>。以下是这些网站的详细信息:

FTP服务器- "FTP://F-Drive.myftp.org/",网站- "HTTP://F-Drive.myftp.org/“

是的,我知道这是不安全的,但我不会用它来做任何敏感的事情。

以下是页面的代码:

代码语言:javascript
复制
<html>
<head>

<link rel="shortcut icon" href="~/favicon.ico" type="image/x-icon"/>

    <style>
        .button {
        border: none;
        color: white;
        padding: 15px 32px;
        text-align: center;
        font-family: Century Gothic;
        text-decoration: none;
        display: inline-block;
        font-size: 16px;
        margin: 4px 2px;
        cursor: pointer;
        }
                
        .button1 {background-color: #ff00ff;}
        </style>

<!--<link rel="shortcut icon" href="~/favicon.ico" type="image/x-icon"/>-->
<title>F-Drive</title>
<section align="center" style="padding: 2%;">
    <img src="favicon.png" alt="F-drive Logo">
</section>
</head>


<body style=background-color:#002c8b;">
<section style="background-color:#10c5fb;">
<h2 style="text-align: center;"><span style="font-family: Century Gothic"><strong>Welcome to</strong></span></h1>
<h1 style="text-align: center;"><span style="color: #ff2600;"><span style="font-size:71px"><span style="font-family: Century Gothic"><strong>F-Drive Online Storage</strong></span></span></h1>
<h2 style="text-align: center;"><span style="color: #ff7b00;"><span style="font-family: Century Gothic"><strong>Created by Eddie Farnworth</strong></span></span></h1>
</section>
<div style="background-color:#ffe6cc;color:white;padding:20px">
<section style="background-color:#ffe6cc;">
<div align="center">
<a href="http://F-Drive.myftp.org" class="button button1">Log out</a>
</div>

<body>
    <object data="FTP://F-Drive.myftp.org" width="400" height="300" type="text/html"></object>
</body>

</html>

可能有点凌乱,因为我对HTML不是很有经验。

任何帮助都是非常感谢的。

EN

回答 1

Stack Overflow用户

发布于 2021-02-06 04:47:20

由于安全问题,改变是不可能的。但不管怎样,看看这个Change ftp css style

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/66069861

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档