View Single Post
Old 08-30-2007, 09:46 PM  
Masterchief
Confirmed User
 
Join Date: Jun 2006
Posts: 530
It actually is very much possible...

First, create a new text file with the following contents:

Code:
open ftp.yourdomain.com
yourusername
yourpassword
cd /public_html/
binary
prompt n
mput c:\lists\online814.txt
quit
Replace your username, password, domain and file path. And if you're uploading an ascii file, replace binary with "ascii". Save the file wherever you want using whatever filename you want, but for the sake of simplicity i'll just pretend you saved to c:\ftp.txt

Now, open up a administrative command prompt and run the following command:

Code:
schtasks /create /tn "FTP Backup" /tr "ftp -s:c:\ftp.txt" /sc MINUTE /mo 60
replace "c:\ftp.txt" with the path to wherever you saved the file and runthe command.

If all goes well, you should see a message saying "SUCCESS: The scheduled task "FTP Backup" has successfully been created."
Masterchief is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote