简体   繁体   中英

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.

Some of my users want to upload file from ftp server to my server. 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.

How can my Linux users upload files from ftp to my server with input HTML tag? Or how can my Linux users access ftp from file browser? Note that my users use 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. Users could then use that instead of a File Input.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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