geekcomputers / geekcomputers/Python

Python script to delete the files from FTP server

Open
#343 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
35.4k
Forks
12.9k
Avg merge
2h 37m
Merged PRs (30d)
1

Description

I need a script in python that can delete files on the FTP server and are more than 5 days old.
Example : I have multiple client folder on the FTP server and daily i receive files in these folders.
I need to write a python program that can delete files in these folders which are more than 5 days old.

Any help will be appreciated.

thanks
Shyam

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the repository's Python examples and the issue requirements. Define how client folders and file ages are identified on the FTP server, then verify that files older than five days are deleted without affecting newer files. There are no named files or tests in the issue, so completion criteria would need clarification.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.