Last active
December 31, 2015 22:09
-
-
Save typomedia/8052129 to your computer and use it in GitHub Desktop.
Simple FTP Backup Batch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO OFF | |
ECHO Copyright 2013 Typomedia Foundation. All rights reserved. | |
ECHO Released under GPL version 3. | |
ECHO FTP Backup Batch 1.0 | |
PAUSE | |
SET dest="//SERVER/Backup/Sites/%date%/" | |
REM Backup doamin.tld... | |
wget ftp://<user>:<password>@domain.tld -m -P %dest% | |
PAUSE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Attention: FTP is unencrypted! User and Password are transmitted as clear text.