Option to ignore hidden files/folders when uploading

Got a good idea? Want to share it? Then please take a moment to submit it.
oeoj
Posts: 14
Joined: Wed Jul 19, 2006 11:07 pm

Option to ignore hidden files/folders when uploading

Post by oeoj » Tue Aug 01, 2006 3:03 am

It'd be nice to have an option to ignore hidden files or folders when uploading the contents of a folder by adding said folder onto the queue. Or if it could adhere to the system's option of whether to show hidden files or not.

Sometimes I need to upload from a CVS or SVN working copy to an FTP server, and Smart will attempt to upload all the hidden "control" files and folders inside subdirectories even though my XP system is set to not show hidden files. The local file windows will not show the hidden files, but the recursive processing in the queue seems to pick up hidden files / folders despite this.

I realise there's the option to checkout a 'release' copy from such control systems, which excludes all the extra control files, but this can be inconvenient at times when all you want to do is send up one folder with a few minor changes in it with a plan to let Smart handle change detection using checksums.

eyebex
Posts: 1860
Joined: Tue Jun 04, 2002 6:39 pm

Re: Option to ignore hidden files/folders when uploading

Post by eyebex » Tue Aug 01, 2006 9:05 am

That's what file exclusion filters are for, see the settings.

oeoj
Posts: 14
Joined: Wed Jul 19, 2006 11:07 pm

Re: Option to ignore hidden files/folders when uploading

Post by oeoj » Tue Aug 01, 2006 11:32 am

I thought I checked there, but didn't see an option to disregard hidden files, only files by wildcard/regex matched filenames?

I'll double check again tomorrow when I'm back at work.
Last edited by oeoj on Tue Aug 01, 2006 11:33 am, edited 1 time in total.

eyebex
Posts: 1860
Joined: Tue Jun 04, 2002 6:39 pm

Re: Option to ignore hidden files/folders when uploading

Post by eyebex » Tue Aug 01, 2006 2:59 pm

You are right, there is no option to exclude hidden files. I was meaning to say that the feature you ask for basically is there, with the difference that you need to exclude by name. Just specify ".svn" as a wildcard exclude filter and check to exclude directories, too, and you're set. This way, the ".svn" folder an all its contents will be ignored and not transferred.
Last edited by eyebex on Wed Aug 02, 2006 6:38 am, edited 1 time in total.

oeoj
Posts: 14
Joined: Wed Jul 19, 2006 11:07 pm

Re: Option to ignore hidden files/folders when uploading

Post by oeoj » Tue Aug 01, 2006 11:42 pm

Ah, lateral thinking: 1, me: 0.

Thanks, works for now

But, I'd still like to maintain my request to ignore hidden files as there's several other file types similar to this. It's just that the request isn't as urgent as before.

I'm slowly building a list in my filters for the more common ones though, like Thumbs.db and OSX files the start with dot-underscore.
Last edited by oeoj on Tue Aug 01, 2006 11:47 pm, edited 1 time in total.

mb
Posts: 12029
Joined: Thu Oct 11, 2001 1:24 pm
Display name: Mat (SmartFTP)
Contact:

Re: Option to ignore hidden files/folders when uploading

Post by mb » Wed Aug 02, 2006 3:19 am

The FTP client doesn't get any information whether the file is marked as "hidden" on the host system.
Therefore it's not possible now to implemented the requested feature.
Regards,
-Mat
SmartFTP

oeoj
Posts: 14
Joined: Wed Jul 19, 2006 11:07 pm

Re: Option to ignore hidden files/folders when uploading

Post by oeoj » Wed Aug 02, 2006 3:43 am

This is for the upload queue, Mat. The hidden files in question are on the client system.
Last edited by oeoj on Wed Aug 02, 2006 3:44 am, edited 1 time in total.

mb
Posts: 12029
Joined: Thu Oct 11, 2001 1:24 pm
Display name: Mat (SmartFTP)
Contact:

Re: Option to ignore hidden files/folders when uploading

Post by mb » Wed Aug 02, 2006 4:34 am

Ah. I see. Will think about it.

Regards,
-Mat

suoperduper
Posts: 35
Joined: Thu Feb 26, 2004 7:09 pm

Re: Option to ignore hidden files/folders when uploading

Post by suoperduper » Sun Aug 06, 2006 6:38 am


Ah. I see. Will think about it.

Regards,
-Mat


I stumbled across this problem serveral times myself. Files like Thumbs.db being transfered although it did not show on the client computer. Would be nice to have an option to disable the transfer of these files automatically without setting up exclusion filters.

Thx

Stef

mcgirl2008
Posts: 1
Joined: Tue Sep 29, 2009 8:48 pm

Re: Option to ignore hidden files/folders when uploading

Post by mcgirl2008 » Tue Sep 29, 2009 8:57 pm

Just for the record, because it took me forever to figure out exactly what the filter was, this is how to exclude .svn folders and files for the default favorite. I'm using SmartFTP 3.0.126.7.

- Click Tools > Settings
- Under "General" in the list on the left click "Favorites"
- In the panel on the right, under "Default Favorite" click "Edit"
- Under Options select "Enable" and check the box for "ignore case"
- Under Filter List > Type select "Exclude"
- Click the 'new' button to the right of the word Filter (hover and it will say 'new', it's a sorta dotted-line square icon)
- Copy and paste the following into the Value field: *\.svn*
- Double-click on the words "File (Name)" and a dropdown list will appear. Select "Any" from that list.
- At the bottom of the screen, click "OK" to save your changes.

Hope this helps someone!

Post Reply