Coder Social home page Coder Social logo

remotefiletransfer's Introduction

RemoteFileTransfer

远程文件传输程序,以知网为例

原理

  1. 服务端运行在校园网环境,客户端为用户使用。双方建立连接后,客户端上报知网文章URL,服务端获取文章后,即可下发到客户端。
  2. 目前只获取pdf格式,若知网页面不提供pdf下载,则无法获取。
  3. 引入排队下载机制,当有多个用户同时请求下载时,将按照先进先出的原则依次运行。
  4. 同时使用sqlite3数据库对用户进行管理。

拓展

  1. 程序运行后可选择服务端或是客户端(但知网文章下载.exe固定为了客户端),也就是说,只要稍加改动源码,就可以将程序DIY为两台PC之间的远程文件传输。如:
    a. 办公室电脑运行服务端, 家里电脑运行客户端,即可远程利用公司内网下载权限文件至处于外网环境下的电脑。
    b. 服务器器运行服务端,自己电脑运行客户端,即可将服务器上文件下载下来。

.
.
.

remotefiletransfer's People

Contributors

1061700625 avatar songxf1024 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.