Đang Thực Hiện

154197 Python FTP synch script mod

Need the script found here [url removed, login to view] mod'd to add the following functionality:

1. take max_file_size param - only sync files smaller than this size

2. take max_site_size param - only sync files while total local size less than or equal to max_site_size

-- This requires that the script be modified to build the file list before processing. Currently it recurses over each subdir working as it goes. Should include the option of generating action log without executing actions..basically build the file list, do the comparisons for the entire site..then call the function to download, delete, etc.

3. Generate log file detailing actions taken - start time, stop time, files unchanged, files updated and why (size, date etc), files deleted, files over max size, files not sync'd because max site size was reached, files ignored because of excluded pattern match.

The referenced script needs to use _ftpparse module as well - it takes the line from FTP and parses it. We've already added this, 5 minute change to the script

Kỹ năng: Bất kì công việc gì, Python

Xem thêm: well referenced, html pattern, action script list, python download file, download file python, d python, python ftp, minute script, found log files, python html script, python log script, html sync, need option script, python download, python option, script download files ftp, max build script, script action, python function, html time date script, python log file script, python script download, python smaller equal, ftp download working, python site

Về Bên Thuê:
( 0 nhận xét )

Mã Dự Án: #1900380