Forum Moderators: phranque

Message Too Old, No Replies

Program for site-wide search&replace through FTP?

can you recommend one that is not Dreamweaver?

         

Darkelve

9:46 am on Jul 12, 2006 (gmt 0)

10+ Year Member



Hi,

I'm looking for a program, preferrably free, that is able to do advanced search&replace through FTP...

I don't know much about regular expressions, but certainly willing to learn if that is needed to do the job...

I use Html-kit as my html editor, but it's a bit lacking for me in its FTP capabilities.

What I would like to do is e.g. a batch search&replace to rename filenames, or a batch job to replace a certain block of code inside an FTP directory with new code.

jtara

1:27 am on Jul 13, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I think the best way may be a bit round-about.

You didn't say what your OS is, but I assume it is a Windows version. If not, I imagine similar software is available for Linux.

There is software available that will map a drive letter to an FTP site. You can then use any search-and-replace software of your choice, since as far as it's concerned, the FTP site is just another drive letter.

It's a great conveience, obviously, to have your web site's file system look like just another drive letter. Opens up all sorts of possibilities. (Including the possibility that a virus on your home system could wipe-out your website, LOL ;) )

I can't name names, as the one I am familiar with is commercial software. Not sure if there is an open-source version of this. So, I suggest "seek, and ye shall find".

The other possibility, if you are running a VPS server, is to run Samba on your web server. Restrict it to 127.0.0.1, then tunnel to it through SSH. This is a much more secure solution. (Use an SSH client on your PC that has tunneling capability.) I hate to see people using FTP, as security is quite lax.

Darkelve

5:49 pm on Jul 13, 2006 (gmt 0)

10+ Year Member



Thanks.

I did find one particular, very useful piece of software...

as for the FTP & security, I can let the IT security people worry about that; I believe they know what they're doing.