简体   繁体   English

在Firefox浏览器Linux中浏览ftp文件

[英]browse ftp file in firefox browser linux

I want to set users upload file to my server in browser. 我想设置用户将文件上传到浏览器中的服务器。 I use <input type="file" /> for upload file. 我使用<input type="file" />上传文件。

Some of my users want to upload file from ftp server to my server. 我的一些用户希望将文件从ftp服务器上传到我的服务器。 In windows this users can set ftp URL in address bar and select file to upload, but Linux users can't upload file from ftp with file browse. 在Windows中,该用户可以在地址栏中设置ftp URL并选择要上传的文件,但是Linux用户无法通过文件浏览从ftp上传文件。

How can my Linux users upload files from ftp to my server with input HTML tag? 我的Linux用户如何使用输入的HTML标签将文件从ftp上传到我的服务器? Or how can my Linux users access ftp from file browser? 或者我的Linux用户如何从文件浏览器访问ftp? Note that my users use Firefox. 请注意,我的用户使用Firefox。

There is no way for a webpage author to control what filesystems will be made available via the File Input dialogue. 网页作者无法通过“文件输入”对话框控制哪些文件系统可用。 That comes down entirely to browser support (which generally just uses the system file picker dialogue). 这完全归功于浏览器支持(通常只使用系统文件选择器对话框)。

If you want to explicitly provide a mechanism, then you would need for the FTP server to be accessible to the web server and to write a web application frontend to it. 如果要显式提供一种机制,则需要使FTP服务器可供Web服务器访问并向其中写入Web应用程序前端。 Users could then use that instead of a File Input. 然后,用户可以使用它代替文件输入。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM