Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions ftp_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,27 @@
import shutil
import urllib

if len(sys.argv) != 2:
print '''This is a script used to create item lists for ftp-grab.

USAGE:

Create a file with a list of FTPs you want to check
and then run the discovery with:

python ftp-check.py listofftpstobechecked

If you scan a FTP that has already been scanned and has an archive file
in the archive dir, only new files or files with a different size will
be added to the item lists.

If you have scanned a FTP site, let Archive Team know
at #effteepee on IRC efnet.
Provide the itemlistfiles from the items dir
and the new files from the archive dir.
'''
sys.exit(-1)

tobechecked = sys.argv[1]
totalsize = 0
maxitemsize = 209715200
Expand Down