Skip to content

Latest commit

 

History

History
47 lines (36 loc) · 1.32 KB

README.md

File metadata and controls

47 lines (36 loc) · 1.32 KB

MyFtp

This is a simple Ftp-like program on linux with python client.

Target

Sometimes it is annoying to scp files from one machine to another if you use scp(cause you need password :)). So why not make one simple program to handles files between machines.

Features

  • get files from server side (supported!)
  • put files to server side (supported!)
  • del files on server side (supported!)
  • list files on server side (supported!)
  • mkdir on server side (supported!)
  • rmdir on server side (supported!)
  • cd on server side (supported! this is useful in interactive mode! "cd .." , "cd -" is supported)
  • pwd show client current dir (suported!)

TODO

  • DONE cmdline support
  • DONE logfile support
  • DONE daemon
  • DONE server ip, port can be assigned from cmdline
  • DONE server work dir can be assigned from cmdline
  • DONE del multi file failed
  • DONE Server logfile redirection

Dependencies

  • openssl-devel
  • libcrypto

Build

  • mkdir build
  • cd build
  • cmake ..
  • make

Example

  • client example

  • server example

Something more

My job needs to copy file from CenOS to windows, i found i stupid user XFTP to transfer file, so i make this program and write some other scripts to copy automatic.