You are here: PSPad forum > English discussion forum > Re: How to take the backup of website?
Posted by: anubhav | Date: 05/16/2012 13:30 | IP: IP Logged
I want to take the daily backup of website using PSPad. Can anybody help me with this?
Posted by: alesc | Date: 05/16/2012 14:44 | IP: IP Logged
Why not use some backup software, like Cobian backup?
But anyway eveything is possible in pspad
...maybe something like this with javascript:
function writeFileStr(txt, filename)
{
var fso = new ActiveXObject("Scripting.FileSystemObject");
var fhandle = fso.CreateTextFile(filename, true);
fhandle.WriteLine(txt);
fhandle.Close();
}
function Start()
{
var ie = CreateObject("InternetExplorer.Application");
ie.Offline = false;
ie.Navigate("www.google.com");
while(ie.Busy)
{
sleep(100);
}
var text = ie.document.documentElement.innerHTML;
writeFileStr(text, "e:\\test\\backup.html");
ie.Quit();
}
Edited 1 time(s). Last edit at 05/16/2012 14:45 by alesc.
Posted by: carbonize | Date: 05/16/2012 18:28 | IP: IP Logged
PSPad's FTP is for the downloading/uploading of single files not complete folders. You would be better off with a dedicated FTP client such as FileZilla.
--
Carbonize
Editor PSPad - freeware editor, © 2001 - 2013 Jan Fiala
Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák