Skip to content

Python script that connects to an FTP server, downloads files from it. simple demo of modules as ftplib ,shutil, os.

Notifications You must be signed in to change notification settings

elisrizea/ftp_demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

FTP automation demo

Python script that connects to an FTP server, downloads files from it. simple demo 
of modules as ftplib ,shutil, os.

Description:

This is a Python script that connects to an FTP server, downloads files from it,
and moves them to a local directory. The script uses the ftplib library to interact
with the FTP server, and os and shutil libraries for file manipulation. The script
also has a logging function that writes to a log file to keep track of transferred 
files and errors. The script can be configured using a config.txt file and has customizable
intervals for file downloads and file movement.

Require:

Please download the 'atf.py' and 'config.txt' files. Edit config.txt then run aft.py
To ensure that the configuration settings are correctly utilized and the default settings 
are avoided, verify that the information after the "=" sign in the first seven lines of 
the 'config.txt' file is accurate.

Running:

Usage: python3 aft.py

Credits:

Alin Rizea
https://www.linkedin.com/in/alin-rizea-b10368104/

About

Python script that connects to an FTP server, downloads files from it. simple demo of modules as ftplib ,shutil, os.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages