Forum Moderators: phranque
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.
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.