• Stars
    star
    130
  • Rank 275,388 (Top 6 %)
  • Language
    Go
  • License
    GNU General Publi...
  • Created over 6 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A simple file HTTP server, written in golang, that include get, put, post method to upload files

介绍

fileHttpServer 是一个使用golang编写的简单文件存储系统,包括get, put, post等方式来上传文件

背景

场景1:在工作之后,特别是大厂,都要使用跳板机链接到开发机上进行编程,经常一些东西要从本地传到开发机 一些东西要从开发机传到本地,这个文件传输就是一个问题,使用fileHttpServer可以很好的解决这个问题, 在开发机上部署上fileHttpServer,然后在本地可以通过命令一键将文件传输到开发机上,同时还生成下载链接, 方便和同事们共享文件

场景2:我们平时开发自己的代码,使用阿里云或者百度云的服务器,一样可以用fileHttpServer来传输文件

场景3:平时我们和其他人分享一些文件的时候无非是通过微信或者QQ直接把文件发过去,可是上G大小的文件是受限制的 我们可以通过自己在云服务器上部署fileHttpServer,然后生成文件的下载链接,直接把下载链接给要分享的人,非常方便。

部署

  • git clone https://github.com/youngyangyang04/fileHttpServer.git
  • 安装最新版本的go语言开发环境(1.11.5以上)

运行

  • 执行 sh start.sh
    此时fileHttpServer就运行起来了

使用方式

curl -T $fileName http://$ip:8085/upload/$fileName

$fileName 是要传输的文件
$ip是fileHttpServer部署所在机器的IP
8085是fileHttpServer的默认服务端口号

More Repositories

1

leetcode-master

《代码随想录》LeetCode 刷题攻略:200道经典题目刷题顺序,共60w字的详细图解,视频难点剖析,50余张思维导图,支持C++,Java,Python,Go,JavaScript等多语言版本,从此算法学习不再迷茫!🔥🔥 来看看,你会发现相见恨晚!🚀
Shell
38,350
star
2

Skiplist-CPP

A tiny KV storage based on skiplist written in C++ language| 使用C++开发,基于跳表实现的轻量级键值数据库🔥🔥 🚀
C++
1,424
star
3

TechCPP

【C++面试&C++学习指南】 这里整理了C++后端研发工程师面试和工作必备的知识点 。
1,321
star
4

PowerVim

Make your vim more power and much easer.
Vim Script
1,116
star
5

Markdown-Resume-Template

BAT程序员自己的简历模板分享出来了 。技术简历追求简单明了,避免没有必要的花哨修饰,大家可以fork到自己仓库中,基于这个模板进行修改。
684
star
6

NoSQLAttack

NoSQLAttack is an open source Python tool to automate exploit MongoDB server IP on Internet and disclose the database data by MongoDB default configuration weaknesses and injection attacks.
Python
286
star
7

DesignPattern

This repository is built for design pattern in C++
C++
187
star
8

youngyangyang04

147
star
9

Gomoku

五子棋对战游戏,支持多个client同时在线对战,由于游戏性质,使用典型的同步阻塞IO模型,多进程提供服务
C
82
star
10

NoSQLInjectionAttackDemo

NoSQLInjectionAttackDemo is website demo for test NoSQL Injection. There are two website demos in this project and all databases are mongoDB
CSS
40
star
11

NetworkDisk

【代码随想录知识星球】项目分享-基于Vue和Spring Boot等技术构建的前后端分离、分布式的网盘系统
Java
21
star
12

PowerSqlgen

Generate sqls to test mysql database
Shell
20
star
13

interview-master

面试大师
9
star
14

algorithm-interview-course

算法面试通关精讲
C++
8
star
15

Backend-Developer-Interview-Tutorial

史上最全的后端开发面试攻略
7
star
16

CS-Books

📚 计算机技术类书籍 PDF 最强总结
6
star
17

vssue

4
star
18

planeGame

my plane game
Java
3
star
19

codestyle

尽量不要写重复的代码
C++
3
star
20

RPC-Java

【代码随想录知识星球】项目分享-手撕RPC框架
2
star
21

KVstorageBaseRaft-cpp

【代码随想录知识星球】项目分享-基于Raft的k-v存储数据库
1
star
22

youngyangyang04.github.io

Carl Sun's BLOG
CSS
1
star
23

APPbackendFramework

A simple APP backend framework
PHP
1
star
24

Documents

This repository is for sharing my documents
1
star
25

test2

C
1
star
26

fileScan_1

Part of the OMS infrastructure. generates xml file by scan the local project, analyze the xml and download the bundle that the system need by scan properties file that include the many websites infomation.
Java
1
star