Configuring fastdl to work with fretta?

Hi.

I’m on a linux VPS. Obviously, when my players vote for a new gamemode on my server with Fretta, the server doesn’t work because the cache in fastdl hasn’t been updated.

What’s the solution to that? I realise I need to make a script that runs each time the gamemode is changed to update the cache from /garrysmod/cache to /fastdl/cache - but how?

Don’t bother with SourceRSC, it’s a pain in the ass. Does Linux have built in FTP commands like Windows?