![]() |
![]() |
![]() |
Alerts Management On FTP Site
FairLight
On which platform do you plan to run this? I imagine *nix? Some sort of cron job executed daily and using something like perl to connect to a list of ftps should do something similar - getting the free space might be tricky, as I don't know the FTP command spec well, but I imagine it's possible. I haven't heard of a program that does what you wish specifically.
Andrew Cherry
Using my mind slightly more suggests that "df -k" would tell you the free space... So that should be a good start. Cron job, perl script, df -k... the rest should be easy! If you want it done on windows that shouldn't be too hard either.
Andrew Cherry
I forgot to mention
FairLight
Activeperl runs on win32, and you can use the perl NET::FTP module to easily connect to ftp servers and query their contents.
Matthew Lock
I third... or is it fourth or fifth Perl. Perl is called the "swiss army knife" for a reason.
m
What, innumerable pieces that you don't know what they do, and then a main knife that doesn't work very well just because it's trying to do too many things? Hehe. Only joking, it's ideal for this kind of small task.
Andrew Cherry
|