Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

shyzik93/BackuperFromFTP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

BackuperFromFTP

The code copy all data from ftp to local directory.

main class: #aftp = adminFTP(server, login, password) make the backup of FTP. The tree of files and dirs will save to local computer. #aftp.make_backup() This cycle check all files and dirs on local computer and try to compare them with FTP's files and dirs. If a local file is not equal, it copies to the FTP. If a local file or dir doesn't exists on FTP, it creates. #while 1:

aftp.upload_modified()

aftp.ftp.cwd("..")

time.sleep(0.1)

About

The code copy all data from ftp to local directory.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages