Skip to content

xing4git/local_file_server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a lightweight web app written with gloang.

Functionality:
1. upload file to your server.
2. view file in your server.
3. download file from your server.

Get: go get github.com/xing4git/local_file_server

Before usage, you need prepare a properties file, it must fit syntax in java Properties.

In the file, you should contains:

# this is the basic dir which you want to public
basedir=/home/xing
# this is the dir which will put all others upload files in
uploaddir=/home/xing/uploads
# this is the port listened by server:
port=9090

If your properties filename is my.conf, then start server:

local_file_server my.conf

Now, you can visit:

http://[your ip]:9090/upload

to upload file to uploaddir, or:

http://[your ip]:9090/local/[filepath]

About

upload and download via web browser

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages