What I am looking into making is a php file that connects to an ftp server and creates a backup of one of the directories inside the ftp server then zips it and it remains on the web host for a later date. If anyone has any suggestions on where to start it would help me immensely.
[QUOTE=Rocket;48597042]What's your use case? Why PHP instead of a shell script?[/QUOTE]
The use is to be able to backup servers, and i figured php would have been the easiest route
You want a shell script. If you're hosting this on windows, you want powershell. If you're hosting this on *nix, you want bash
[QUOTE=proboardslol;48597065]You want a shell script. If you're hosting this on windows, you want powershell. If you're hosting this on *nix, you want bash[/QUOTE]
Alright thank you I will look more into it
EDIT: the only problem I have with this is that I have a managed nfo host so I don't think I Can use shell scripts that's why I was looking for a way to do it through the webhost
You can run this from your own PC
Sorry, you need to Log In to post a reply to this thread.