Fog Creek Software
Discussion Board

Bulk Renaming on Remote FTP Site

Do you know any freeware which allows to do bulk renaming on remote FTP Site.

Friday, September 19, 2003

How do you mean? Can you start of by breaking these problems into two? How do you wish to rename files/folders? How do you wish to control this remotely (are you forced to use FTP)? What's in your way?

Li-fan Chen
Friday, September 19, 2003

If you have a rule, like change all *.htm files to *.html or *.asp.. what you could do is write a script in Perl using the FTP module.. the FTP module will let you traverse through the ftp folders recursively.. and you can take all the filenames in turn and translate them using ftp rename commands.

Li-fan Chen
Friday, September 19, 2003

maybe cUrl ( ) can help.

Excellent at odd batch network transfers.

Friday, September 19, 2003

You mean like renaming /warez/appz/... to /bsa/bust/... ?

Friday, September 19, 2003

I want to remane a file on a FTP server
like from TEST.ZIP to OLD_TEST.ZIP

My requirement are :

I do not want to do it via the command line FTP

is there a WIN API which does handle FTP ?

Sunday, September 21, 2003

I believe you want to look at the link above, it leads to the WinINet API that has FTP capabilities such as FtpRenameFile().

Incidentally, a 30 second search on the MSDN Tech library for FTP returned this in the top 3 results.

Monday, September 22, 2003

*  Recent Topics

*  Fog Creek Home