Files
huse-lab/docs/services/2025-09-26_web-explorer.md
2025-09-26 22:36:38 +08:00

54 lines
1.9 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
sidebar_position: 6
sidebar_label: 'web文件浏览'
title: 'web文件浏览'
---
## 概述
这是filerun服务的用户a登录后那个文件夹的目录浏览版网页服务
主要是用于给有网但是没有浏览器的设备传输文件用,比如嵌入式设备,
可以使用 `wget``curl` 或者其它能实现类似功能的工具软件来进行网络下载只要支持http协议即可
## 服务网址
http://file.lab.net:9999
http://192.168.31.202:9999
## 用法示例
例如现在,文件服务器里是这些文件,
假设我需要给一个设备传输 `test-file.txt` 文件过去,
登录filerun把文件拖进去就上传好了然后切到9999端口复制一下链接
然后粘贴下载,就好了
### filerun文件服务器的状态
![image-20250926203110834](https://sayurinana-aliyun-oss.oss-cn-beijing.aliyuncs.com/auto-upload-img-hub/huse-lab/202509262038939.png)
### web文件浏览的内容
filerun的a用户的主目录就是映射的public这个目录打开public就是第二张图的内容
也就是说,如果在 http://file.lab.net/ 里,上传了一个 `测试文件.txt`
就可以打开 http://file.lab.net:9999/public/ ,在里面能看到一个 `测试文件.txt`
右击这个文件打开快捷菜单,复制链接就能得到 http://file.lab.net:9999/public/%E6%B5%8B%E8%AF%95%E6%96%87%E4%BB%B6.txt
这个有中文,转码后链接很长,换成是 `test-file.txt` ,那么,
它的链接就是 http://file.lab.net:9999/public/test-file.txt
或者 http://192.168.31.202:9999/public/test-file.txt ,这两个都是有效的,
![image-20250926202529389](https://sayurinana-aliyun-oss.oss-cn-beijing.aliyuncs.com/auto-upload-img-hub/huse-lab/202509262038825.png)
![image-20250926203206369](https://sayurinana-aliyun-oss.oss-cn-beijing.aliyuncs.com/auto-upload-img-hub/huse-lab/202509262038291.png)