You are here: PSPad forum > English discussion forum > Re: How to take the backup of website?

Re: How to take the backup of website?

#1 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?

Options: Reply | Quote | Up ^


#2 Re: How to take the backup of website?

Posted by: alesc | Date: 05/16/2012 14:44 | IP: IP Logged

yawning smiley Why not use some backup software, like Cobian backup?

But anyway eveything is possible in pspad winking smiley ...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.

Options: Reply | Quote | Up ^


#3 Re: How to take the backup of website?

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

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2014 Jan Fiala
Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák