How to only update specific filetype?

I've been a longtime user of CuteFTP and Dreamweaver and they've just about drove me nuts. I'm trying SmartFTP and so far it's very promising, but I can't get it to do something specific.

What I need to do is to only update the html/htm files on the server using my local copy as the master to sync to. The problem is, I configured the filter to include only the regular expression of .*\.html?$ but that doesn't seem to work. What happens is if I select an entire folder and try to upload it, it'll go into the cue and then quickly disappears. If I grab individual html files and upload them, then it works. But the whole idea is to be able to do them all in a batch automatically so I don't have to manually select thousands of html files from tons of different folders.

Help?

You also need to include an entry in the filter list to match directories.


You also need to include an entry in the filter list to match directories.

Do you mean I have to list the actual names of all the folders that contains html files? Can I use a regular expression for it so that all possible folders and html files are accounted for?

Try it with this entry:
Wildcard | * | Folder (Path)


Try it with this entry:
Wildcard | * | Folder (Path)

Is it just * or is it |*|? I tried both, and what happens is that the folders are now recognized, but they just one by one disappear from the cue as the upload commences, and nothing really happens. The html files are not being updated as I intended. This is what I have now for the filers:

|*| for File (Path)
*\.html?$ for File {Name)

Could there be other settings that's conflicting and causing the html files to not be recognized and updated? I have the favorite rules for same file set to overwrite if the date is different, and no matter what size. That should work, but it isn't working. If I manually update a html file, then it works, but not if I try to do them in a batch.

What else am I doing wrong?

Are you sure you are using the following:
Wildcard * Folder (Path)

Because in your post you are writing that you use * for File (Path).

Sorry, that was a typo. I am using Folder (Path), not File (Path). Do you need me to list all the setting choices I have, like take screenshots? If so, which options pages do you need me to show?

Hello?

I'm not sure why it doesnt work for you. This is how I tested it:
Filters: Enable, [x] Ignore Case

Filter List
Use Favorite's Settings
Type: Include
Filter:
Type Value Scope
WildCard *.html File (Name)
WildCard * Folder (Path)

What it does? It transfers all *.html files in the main folder and its subfolders.
I tested it with an upload of a folder containing .html files and subfolders with .html files.

I did exactly as you just described, and it's the same. The folders get recognized, and they grow longer and longer in the cue list as the child folders are detected, and pretty quickly, they then disappear one after another, while none of the html/htm files have updated, or even showed up in the cue list.

Are there other settings that could be causing this? I'm willing to go to whatever lengths to provide you with the information you need in order to help me--just tell me what you need from me.

Do you have the ignore case option enabled? Maybe your .HTML extensions are in upper case?

Ignore case is checked, so that's not it. If that was unchecked, my manual uploads would've been skipped.

In the log you can actually see what files are skipped. So double click on the folder item in the queue that has the .html items. Maybe you need to quickly stop the queue, then double click the folder item, then start the queue again. This way we at least have confirmation what files are skipped and why.

Thanks for that tip. I changed the expression for the html/htm files and just used two separate ones for each, and that worked--now the htm and html files are recognized, but that didn't fix anything--the files are still not overwriting the old files on the server, even if in the log it shows that the rules are being met and activated.

I copied one of the log from one of the html files, and it seems the server is not granting the permission to overwrite the file?

--------------------
[13:44:01] Operation Begin
[13:44:01] CWD /www.ethereality.info/httpdocs/ethereali ... s/concepts
[13:44:01] 250 Directory successfully changed.
[13:44:01] PWD
[13:44:02] 257 "/www.ethereality.info/httpdocs/ethereali ... s/concepts"
[13:44:02] Remote file exist check: "creature.htm".
[13:44:02] TYPE I
[13:44:02] 200 Switching to Binary mode.
[13:44:02] SIZE creature.htm
[13:44:03] 550 Could not get file size.
[13:44:03] File exist check failed. File not found or permission denied.
[13:44:03] PASV
[13:44:03] 227 Entering Passive Mode (74,54,223,210,210,223)
[13:44:03] Opening data connection to 74.54.223.210 Port: 53983
[13:44:03] STOR creature.htm
[13:44:04] 150 Ok to send data.
[13:44:04] 2449 bytes transferred. (8.69 KB/s) (275 ms)
[13:44:04] 226 File receive OK.
[13:44:04] MDTM 20101119023615 creature.htm
[13:44:04] 213 File modification time set.
[13:44:04] SIZE creature.htm
[13:44:05] 213 2449
[13:44:05] Source File Size=2449, Destination File Size=2449
[13:44:05] Operation End
-----------------------------

And it seems whenever I try to upload entire folders, files will easily time out and then just remain stuck.

Here another file in the same folder that I uploaded successfully manually, and this is what I got:

-----------------------------
[13:56:48] Operation Begin
[13:56:48] Resolving host name "hosting.cgsociety.org"
[13:56:49] Connecting to 74.54.223.210 Port: 21
[13:56:49] Connected to hosting.cgsociety.org.
[13:56:49] 220 (vsFTPd 2.0.5)
[13:56:49] USER lunatique
[13:56:49] 331 Please specify the password.
[13:56:49] PASS (hidden)
[13:56:50] 230 Login successful.
[13:56:50] SYST
[13:56:51] 215 UNIX Type: L8
[13:56:51] Detected Server Type: UNIX
[13:56:51] RTT: 268.778 ms
[13:56:51] FEAT
[13:56:51] 211-Features:
[13:56:51] EPRT
[13:56:51] EPSV
[13:56:51] MDTM
[13:56:51] PASV
[13:56:51] REST STREAM
[13:56:51] SIZE
[13:56:51] TVFS
[13:56:51] 211 End
[13:56:51] PWD
[13:56:51] 257 "/"
[13:56:51] CWD /www.ethereality.info/httpdocs/ethereali ... w/concepts
[13:56:52] 250 Directory successfully changed.
[13:56:52] PWD
[13:56:52] 257 "/www.ethereality.info/httpdocs/ethereali ... w/concepts"
[13:56:52] Remote file exist check: "kreuweizer_tactical_pistol.htm".
[13:56:52] TYPE I
[13:56:52] 200 Switching to Binary mode.
[13:56:52] SIZE kreuweizer_tactical_pistol.htm
[13:56:52] 213 2505
[13:56:52] MDTM kreuweizer_tactical_pistol.htm
[13:56:53] 213 20061205015153
[13:56:53] Source File: Size=2981, Time=2010-11-19T02:36:16
[13:56:53] Destination File: Size=2505, Time=2006-12-05T01:51:53
[13:56:53] RecentTime=2010-11-26T05:56:53
[13:56:53] Rule "IF Destination Time=Different AND Size=No Matter AND Transfer=Upload THEN Overwrite" matched. Action="Overwrite".
[13:56:53] PASV
[13:56:53] 227 Entering Passive Mode (74,54,223,210,113,62)
[13:56:53] Opening data connection to 74.54.223.210 Port: 28990
[13:56:53] STOR kreuweizer_tactical_pistol.htm
[13:56:53] 150 Ok to send data.
[13:56:53] 2981 bytes transferred. (10.5 KB/s) (275 ms)
[13:56:54] 226 File receive OK.
[13:56:54] MDTM 20101119023616 kreuweizer_tactical_pistol.htm
[13:56:55] 213 File modification time set.
[13:56:55] SIZE kreuweizer_tactical_pistol.htm
[13:56:55] 213 2981
[13:56:55] Source File Size=2981, Destination File Size=2981
[13:56:55] Operation End
------------------------------

Here's another file that during the upload of an entire folder, got stuck and just stays in the cue:

[14:01:47] Operation Begin
[14:01:47] Resolving host name "hosting.cgsociety.org"
[14:01:47] Connecting to 74.54.223.210 Port: 21
[14:01:47] Connected to hosting.cgsociety.org.
[14:01:47] 220 (vsFTPd 2.0.5)
[14:01:47] USER lunatique
[14:01:48] 331 Please specify the password.
[14:01:48] PASS (hidden)
[14:01:48] 230 Login successful.
[14:01:48] SYST
[14:01:49] 215 UNIX Type: L8
[14:01:49] Detected Server Type: UNIX
[14:01:49] RTT: 264.653 ms
[14:01:49] FEAT
[14:01:49] 211-Features:
[14:01:49] EPRT
[14:01:49] EPSV
[14:01:49] MDTM
[14:01:49] PASV
[14:01:49] REST STREAM
[14:01:49] SIZE
[14:01:49] TVFS
[14:01:49] 211 End
[14:01:49] PWD
[14:01:49] 257 "/"
[14:01:49] CWD /www.ethereality.info/httpdocs/ethereali ... s/concepts
[14:01:50] 250 Directory successfully changed.
[14:01:50] PWD
[14:01:50] 257 "/www.ethereality.info/httpdocs/ethereali ... s/concepts"
[14:01:50] Remote file exist check: "lieutenant.htm".
[14:01:50] TYPE I
[14:01:50] 200 Switching to Binary mode.
[14:01:50] SIZE lieutenant.htm
[14:01:51] 213 6250
[14:01:51] MDTM lieutenant.htm
[14:01:51] 213 20101126055930
[14:01:51] Source File: Size=6250, Time=2010-11-19T02:36:16
[14:01:51] Destination File: Size=6250, Time=2010-11-26T05:59:30
[14:01:51] RecentTime=2010-11-26T06:01:51
[14:01:51] Rule "IF Destination Time=Different AND Size=No Matter AND Transfer=Upload THEN Overwrite" matched. Action="Overwrite".
[14:01:51] PASV
[14:01:51] 227 Entering Passive Mode (74,54,223,210,122,7)
[14:01:51] Opening data connection to 74.54.223.210 Port: 31239
[14:01:51] STOR lieutenant.htm

So basically whenever I try to upload entire folders, nothing gets updated--they all just get skipped or stuck. Only when I manually do the files by selecting them and adding them to the cue do they actually overwite the old files on the server. What's really strange is that I also have situations where the file on the server is obviously an older date or different file size, but in the log it says they match and then chose to skip the file, but this doesn't happen if I do the uploads manually.

According to your log the filters are working correctly otherwise SmartFTP wouldnt try to upload the .html files. Can you please post the log of the file transfer after the 1st retry?

I just tried a folder, and the files didn't time out, but they just disappeared from the cue without actually updating the old version on the server. Here's the log of one of the htm files that just disappeared from cue without updating:

[01:49:47] Operation Begin
[01:49:47] Remote file exist check: "lieutenant.htm".
[01:49:47] SIZE lieutenant.htm
[01:49:47] 213 0
[01:49:47] MDTM lieutenant.htm
[01:49:48] 213 20101126060930
[01:49:48] Source File: Size=6250, Time=2010-11-19T02:36:16
[01:49:48] Destination File: Size=0, Time=2010-11-26T06:09:30
[01:49:48] RecentTime=2010-11-26T17:49:48
[01:49:48] Rule "IF Destination Time=Different AND Size=No Matter AND Transfer=Upload THEN Overwrite" matched. Action="Overwrite".
[01:49:48] PASV
[01:49:48] 227 Entering Passive Mode (74,54,223,210,248,7)
[01:49:48] Opening data connection to 74.54.223.210 Port: 63495
[01:49:48] STOR lieutenant.htm
[01:49:48] 150 Ok to send data.
[01:49:48] 6250 bytes transferred. (22.5 KB/s) (271 ms)
[01:49:49] 226 File receive OK.
[01:49:49] MDTM 20101119023616 lieutenant.htm
[01:49:49] 213 File modification time set.
[01:49:49] SIZE lieutenant.htm
[01:49:50] 213 6250
[01:49:50] Source File Size=6250, Destination File Size=6250
[01:49:50] Operation End

The file has been uploaded. Look at the STOR command in the log.