qzyse2017 / FileTran

A python program to transfer your files in binary format, based on socket level networking interface

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FileTran

A simple file transfer script in python based on socket level protocol

How to Use

  • git clone git@github.com:qzyse2017/FileTran.git
  • to start the server, use python transferServer.py
  • to start the client, use python transferClient.py <server-ip> <server-port>
  • set username and password in usr.json

Feature

  • Commands to get directories' infomation from client: pwd,lcd <directory_name>, lmkdir <directory_name>, lp(analogous to pwd),ldir

  • Commands to get directories' infomation from server and operate files between client and server:fdir,fmkdir <directory_name>,fcd <directory_name>, fput <file_name>, fget <file_name>, fpwd(get the current directory on server)

  • command to exit:exit

  • package the directory and download them all together: use pack_get

More instructions

I wrote some more instructions about the tool in report.md in Chinese, it was part of my previous report and I do not going to maintain the repository in long term, so I will not translate it to English, if you have any problems, please make a new issue to report it. Thanks a lot!

About

A python program to transfer your files in binary format, based on socket level networking interface

License:Apache License 2.0


Languages

Language:Python 100.0%