uploading only *.htm and *.html files

eisbaer

2006-11-15 15:03:21

Hi,

I am looking for a possibilty to upload all my html files on a big website with 100's of subdirectories and about 40000 html pages. I know the possiblity of the selection groups but it seems that this function only select the *.htm/html files that are actual viewable in the browser.
I now also the Filter tool but there I guess i would need a regular expression excluding anything except *.htm and *.html.

Is there another way to upload all *.htm and *.html files with the queue or is it possible to tell smart ftp to upload only these files?

Thanks Frank
400011174

mb

2006-11-15 21:54:55

Yep a regular expression which matches only .htm and .html files is what you need. Once you have it you can add it to the Exclusion Filters in the favorite item. Then connect to the FTP server through the favorite item and add the items to the Transfer Queue.

Regards,
-Mat

eisbaer

2006-11-15 23:31:12

and how is this regular expression? as i am not very familar with that, it would be very nice if somebody could tell me the reqular expression for excluding anything except *.htm or *.html files.
Why can't you add a function that one can define which files with which ending are uploaded...

Thanks a lot!

eyebex

2006-11-16 08:32:17

eisbaer

2006-11-16 19:50:18

eyebex

2006-11-16 22:42:09

One possible RegExp to include only *.htm and *.html files would be

(\.[^h])|(\..[^t])|(\...[^m])|(\....[^l$])|(\......)

PS: Please enter your license ID into your forum profile.

eisbaer

2006-11-17 11:56:08

thanks for the regex.
And I entered my number in my profile. I had entered it at the end of the first mail as about a year ago that was the way to go i think.

Have a nice day
Frank

mb

2006-12-26 18:55:36

The newest version of SmartFTP allows a more convenient way to define include filters. Please see the Transfer -> Filters settings.
https://www.smartftp.com/download

Regards,
-Mat