Skip to content
/ pySCP Public

A Python implementation of the SCP protocol with some extensions

License

Notifications You must be signed in to change notification settings

Veklip/pySCP

Repository files navigation

pySCP - A Python implementation of the SCP protocol

The idea behind it is to expand the scp functionality a bit without going
into the area of sftp and rsync (much :)), and also to make it platform-
independant.

SCP protocol pseudo-example:
sink  : 0 # ready to recieve
source: T<unix mtime> 0 <unix atime> 0 # optional (-p)
sink  : 0 # confirm
source: D0xxx 0 <dir name> # if sending a directory
sink  : 0
source: T<unix mtime> 0 <unix atime> 0
sink  : 0
source: C0xxx <size> <file name>
sink  : 0
source: <data>
source: 0 # data end
sink  : 0 # ok
source: T<unix mtime> 0 <unix atime> 0
sink  : 0
source: C0xxx <size> <file name>
sink  : 0
source: <data>
source: 0
sink  : 0
....
source: D0xxx 0 <dir name>
sink  : 0
....
source: E # confirm end of directory
sink  : 0
source: E
sink  : 0

About

A Python implementation of the SCP protocol with some extensions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published