|
Post by FadedOasis on Jul 5, 2011 18:51:41 GMT -5
Stale replay data is clogging up the FTP server, and there's no server command to clean it up automatically. So I need a program that can, on a scheduled basis, automatically FTP into a server and delete everything that's more than 24 hours old.
Any ideas?
INCENTIVE: Whoever gives me the solution I use gets an in-TF2 prize.
|
|
|
Post by pneuma08 on Jul 5, 2011 22:58:24 GMT -5
What OS is on the server?
|
|
|
Post by FadedOasis on Jul 6, 2011 2:05:39 GMT -5
I don't know, I think Windows, but that doesn't matter. I can't run anything on there, I have to run it from here, which is why I need to FTP into it.
|
|
|
Post by FadedOasis on Jul 6, 2011 14:55:09 GMT -5
The program must be able to remotely connect to the server and delete files older than one day.
|
|
|
Post by fivealarm on Jul 6, 2011 21:45:22 GMT -5
This sounds like a job for an amateur! (Don't worry, the part that deletes is currently commented out so that mozilla's server doesn't give me unhandled exceptions AIDS.) Attachments:
|
|
|
Post by pneuma08 on Jul 6, 2011 22:15:58 GMT -5
Yeah, I'm thinking shell script ought to do it.
|
|
|
Post by FadedOasis on Jul 7, 2011 2:56:32 GMT -5
FiveAlarm wrote me an awesome Python script. He wins a paint.
Thanks for all the help, everyone.
|
|