Preventing certain file types from being displayed in a directory listing

Someone before me used this code to create simple directory
listings for our
users to maintain certain sections of the site...
http://www.asp101.com/samples/viewasp.asp?file=dir_list.asp
My question is, can some additional code be added or change
to prevent
certain files from showing up in the list.. like the
default.asp and so
on...
ASP, SQL2005, DW8 VBScript

Just test the string value of the filename in the output loop
and skip it if it meets the criteria you want to filter out.

Similar Messages

  • Prevent same file name from being downloaded -- Don't put (1) or (2), etc before file extension

    Let's say I save a file to a download directory -- for example, "Cat Video.mp4".
    Then, let's say later on I find another video that I'm not sure if I've already downloaded it yet, so I try again. By default, what happens if that "Cat Video.mp4" already exists in the folder, FireFox will download the file as a different one, but this time as "Cat Video(1).mp4". In my case, I want to either NOT download the video or PROMPT me to overwrite. I don't want to automatically just download the same video/file and append (1), (2), etc. at the end of it.
    Is there a setting in FireFox or a plug in / add in that will allow for this functionality?
    Thanks!

    There are multiple download managing extensions. I've never used any of them, but it might be worth a try. Here's one I found, but there's tons more: http://www.downthemall.net/

  • Can I exclude certain file types in the Photo Downloader?

    Hi there!
    I am very new here, so please do correct me on etiquette and if I'm doing something wrong. I've been searching the web for quite a while now but couldn't find an answer or even questions concerning this problem...
    I like using Bridge's Photo Downloader, for the nice renaming and other options it gives me. Usually I want to download all images from a card and then delete them on the card. The problem I am having is that Photo Downloader will not only see images (like .JPG, .CR2 or .ARW) but camera database files and settings (.INT, .BDM, .BIN, ...). This is annoying, since I neither want them stored on my hard drive nor deleted on my card. I also would like to import movies in a different way. The way I can work around this now is that I manually deselect all non-images in the Advanced Dialog and then only download these. But I was hoping that there is a more elegant and automatic way to just exclude certain file types from automatic selection. Or even just a way to mark or unmark the images by file type. This should be very easy to implement and I am really curious if I am missing something obvious here or if this is just not possible yet.
    Has anyone else thought this before? Or are you all using different methods to import images from your card reader?
    Any help or comment is appreciated.

    Sorry, download history is either on or off. There is no preference setting to exclude specific file types.

  • Is there a way to prevent HTML from being displayed in forum?

    Is there a way to prevent HTML from being displayed in forum in BC to avoid linking to other sites on an eCommerce site?

    Thank you for your post!
    Unfortunately there isn't a way to restrict customers to post on your forums links to other sites.
    However what I suggest here is to choose to moderate each forum post and this way you can choose to approve or remove links from the posts sent by customers.
    I hope this helps!
    Andrei

  • Preventing Podcasts from being displayed as Music and\or songs.

    How can I prevent Podcasts from being displayed as Music and\or songs?

    Welcome Mr. Lutz,
    Note: This is for Windows version of iTunes because this is the OS I'm running. Even with diferent OSes, the process should be similar enough.
    1.Open iTunes
    2.Connect your iPod
    3.Highlight it in the source list
    4.Go to Edit, then Preferences
    5.Click on the iPod tab
    6.Click on Automatically update selected playlists only
    7.Click which playlists you want on your iPod
    8.Switch to the Podcast tab
    9.Select automatically update all podcasts
    10.Click OK
    11.Disconnect your iPod
    12.Now, follow steps 1-7 with one of your daughter's iPods.
    13.Now, switch to the Podcast tab
    and select Do not update podcasts
    14.Click OK
    15.Disconnect the iPod.(Repeat Steps 12-15 with the other mini.
    This should allow your iPod to update your songs and podcasts, and allow your daughters to update their songs and no podcasts.
    Happy iPodding,

  • Preventing setup/cleanup from being displayed during exec.

    I am trying to prevent the setup/cleanup sections of my sequence from being displayed during execution.  (i.e. I do not want the users to see anything other than the main sequence).  This way they can see the progress being made through the sequence and the cleanup sequence will not block the view of the main sequence(and the values from individual tests).
    If anyone has a clue how to do this please let me know.
    (Note: I still want the startup/cleanup to run, just invisibly)
    Thanks

    This tracing option is set in the Station Options. In Sequence Editor, goto:
    Configure >> Station Options, Tab Execution: Remove the checkmark from "Allow Tracing into Setup/Cleanup".
    Regards, Guenter.

  • Unable to stop Quicktime from playing certain file types

    Recently, Quicktime has begun to insist on playing certain file types accessed via Web Browser. I work at a radio station and we have to be able to import certain audio from the web into our own player/editing software.
    I have it set in the preferences that Quicktime not play any audio files.
    We have had to restrict the installation of Quicktime on our systems.
    Anyone know when Quicktime will allow us to really set preferences again?

    Each user account can set their own preferences for QuickTime browser playback.
    QuickTime Control Panel/Advanced/MIME Settings allow you to change those that will open via the QT browser plug-in.
    If your page code is "sloppy" and you directly link to the audio files then you may get a wide vary of responses from the viewing browser. Some users will download the file while others may get a QuickTime playback in a "new" window.
    Post a link to your page and we can view the page source code and help you with a solution.
    Radio made America! I listen daily.

  • Photoshop CC 2014 - "Could not complete your request because something prevented the text engine from being initialised".

    This problem has just started, only with CC 2014. It doesn't happen with CC or CS6.
    When I open a particular layered file, then Duplicate it, then close the original Master file I get the "text engine" warning box when I try to enter text in the copy file.
    If I enter text in the original Master file - no problem.
    If the Master file is still open and I try to enter text in the copy file  - no problem.
    I've validated all my fonts in Font Book, deleting all the duplicates and one corrupt font. No change to problem.
    I've gone to User/Library/Application Support/Adobe/Adobe Photoshop CC2014/ and trashed the CT Font Cache folder. No change to problem.
    I've run PS Update.
    Running OS 10.9.3.
    Any suggestions?

    I'm having the same issue on my work computer. I found this info in Adobe's help section.
    Issue
    When you use the Type Tool, you receive the following error:
    "Could not complete your request because something prevented the text ending from being initialized."
    To the top 
    Solution
    Close Photoshop, clear the font cache, and restart.
    Exit Photoshop.
    In Windows Explorer, navigate to the Users/[user name]/AppData/Roaming/Adobe/Adobe Photoshop CC/CT Font Cache folder.
    Move these two files to the Recycle Bin:
    AdobeFnt_CMaps.lst
    AdobeFnt_OSFonts.lst
    Empty the Recycle Bin.
    Restart Photoshop.
    To the top 
    Additional information
    This issue can occur after you uninstall and reinstall Photoshop several times.
    Text Engine error using type tool in Photoshop CC | Windows 8

  • WRT610N certain file types have wrong time stamp

    Hi, I have searched this forum for a similar problem with no luck - so here goes...
    I have a WRT610N router using the latest firmware 1.00.03 B15. After upgrading the firmware I reset router for 30 sec., and then powerdown for 30 sec. as I have read on this forum, and yes the USB drive was disconnected before hand, but I still have this problem when creating/saving certain file types on the USB drive attached to the router.
    I have discovered that MS Word and PowerPoint files (.doc & .ppt) are saved with the correct date and time, but MS Excel, Notepad, and HTML files (.xls, .txt, and .mht) are saved with a time stamp that is one hour later!!! There may be other file types that are affected by this as well.
    Example: I create/save a Word file and also an Excel file at 1:00 PM, When I use Windows Explorer to view the details of the files on the USB drive, the Word file has a timestamp of 1:00 PM, but the Excel file has a timestamp of 2:00 PM (in the future). All other functions on the router seem to be OK.
    If I create these five file types on the C: drive they all have the same timestamps, I also have a Netgear SC101 NAS which shows the correct timestamps. I only have this problem when using the USB drive connected to the WRT610N. I tried this on 3 different computers - all have the same issue.
    This may seem like a minor issue, but Im using SmartSync Pro to back up all the drives on the LAN and it uses the file's timestamp to determine if it should be backedup or not. So Im concerned that backups may not be done properly, or God knows what it will do with files from the future!
    Im using WinXP SP3, the USB drive is a WD2500BEVS - 250GB with 4 partitions (largest is 120GB) all formatted as NTFS.
    I would appreciate it if others would try this and post their results here so I would know whether to bug Linksys for a fix, or if I have problems elsewhere in my configuration.  Thank you.

    Well, 15 days, 40 views, 0 replies.
    Could one kind sole, just one, please; startup Notepad, save an empty .txt file to the USB drive on the router, and then let me know if the file had the correct time stamp?
    Preferably someone with a ver 1 router, firmware 1.00.03 B15, and running WinXP SP3.
    Thanks in advance.

  • How to change the file type from IMOVIE PROJECT to other types of file

    how to change the file type from IMOVIE PROJECT to other types of file??
    thank you very much for your help=]

    I am not sure what you mean, but once you make a project. Then go to the share menu and you can export the project to iDVD, itunes, mobileme, quicktime.
    Share export quicktime movie will allow you to export to a variety of codecs. What specific export are you looking to share the movie in? What is the final source that the movie will be displayed?

  • Premiere Pro CS5 crashing when exporting (only certain file types)

    Hi
    I have found that when I try and export media in Premiere Pro CS5, it often crashes during the export. It says
    It's only certain file types. For instance, Vimeo HD seems okay but Vimeo SD always crashes mid-export. MPEG is okay too, but MPEG2-DVD always crashes.
    Sometimes it says this: "Error Compiling Movie - Unknown Error" but doesn't throw me out of Premiere altogether.
    Other times it crashes altogether and Windows gives me this error message: "Display driver NVIDIA Windows Kernel Mode Driver, Version 258.96 stopped responding and has successfully recovered". Premiere Pro then stops responding so I have to re-open it and start exporting again.
    I have checked there are no gaps in my timeline and I have rendered the whole work area. Besides, I doubt it's anything that I'm doing wrong with the project itself because it's exporting fine in some formats.
    I am also experiencing random crashes when editing too. Not that often, but occasionally it throws me out - and twice it has made the whole screen go crazy, with weird dotting across the screen (it's scary, it looks like the monitor itself has broken!).
    Any help would be appreciated!
    Nick
    PS I have a pretty decent new PC - Dell Studio XPS, 8GB, 2x1TB drives, etc. Premiere itself is working great, except for these crashes.

    Some drivers do not work well in some systems... so go to nVidia and try a different (usually newer) driver for your card
    These notes are for Encore, but they MAY also work in Premiere
    Long File Names or odd characters Cause Crashing http://forums.adobe.com/thread/588273
    And #4 Here http://forums.adobe.com/thread/666558?tstart=0
    And This Message Thread http://forums.adobe.com/thread/665641?tstart=0

  • Restrict certain Storage location from getting displayed in CO06 !!

    Dear all -
    We have implemented ECC 6 recently & I have a doubt about restricting certain Storage Locations
    in CO06.
    I have 2 storage locations for a plant and would like to restrict it in CO06 one of the storage locations.
    Is there any other way by which I can RESTRICT certain storage locations from getting displayed.
    I am putting in Logistics Execution threat, with an anticipation thall ALL logistics module experts will be able to see this and respond.
    Thanks
    Arun
    Edited by: ARUN TULSI on Jun 25, 2008 10:14 AM

    Dear,
    System determine issue storage location from the material master, the value of the storage location of the BOM item, or the storage location from the supply area.
    Check in BOM component details storage location you have defined.
    Check production storage location from the plant segment of the component is taken into account for the use of MRP areas also. When planned order is being created for the superior assembly in a MRP area?
    Also check the Material requirements planning (PP-MRP)
    --> planning process
      --> BOM explosion and dependent requirements determination
        --> storage location determination for BOM explosion
    Regards,
    R.Brahmankar

  • Cannot Share Certain File Types...

    I recently uploaded a MP4 file that I wanted to share with a friend. The video is mine from my camera with basic editing in Premier. I uploaded this and then I see “You cannot share this file type.”
    After a looking through the other forums I came across this thread that says we cannot share video, music, and fonts. Hmmm....
    There is this sentence on the Creative Cloud Website:
    “When you're connected, you can do even more with Creative Cloud, thanks to online services for file sharing, collaborating, and publishing websites and documents.”
    Let us imagine:
    I am a Video Professional who uses Premier to edit videos and the above blurb excites me. I sign up and make3 the most awesome video of my career. ( dream frequently) I do a bit of editing, viola! A finished project Time to share with my friend so they can confirm I'm a genius, okay? Since I have a website with Business Catalyst using the Creative Cloud I will put it there. Oh wait, BC cannot handle a file over 100mb and my Video is a few hundred megabytes. Well, I have Creative Cloud Storage online and it allows for sharing, wonderful! I upload the video, no issue, then go to share the video. WAIT! What is this? I cannot share a file that I CREATED? Why Not?
    I can understand not wanting to get in trouble due to copyright law but you are a company that produces a program specifically for video editing (let us not forget Audition for Music/Audio editing.) I believed the pitch about Creative Cloud for professionals so they can create files and collaborate with anyone from anywhere. Yet there is that footnote: you cannot share video, music, or fonts. ?!?!?!? This is very limiting. If there are legal reasons why you cannot share the file types then say so. With MP4 there is a patent on the codec, and so we cannot share these files(?) but we can create them using Adobe Programs.
    No worries I'll just zip my files to have my genius confirmed or denied.
    Adobe, I would like to understand the reason for the block on allowing certain file types to be shared. With the disallowing of certain file types you severally limit the value of the Cloud. Also where is the list of blocked file types? Why did I have to find out the hard way that I cannot share videos? I cannot find a list or even a statement that those files are not allowed to be shared (other than a forum thread which is not the typical place those shopping for the service offered, would look).
    Thank You, I think I need a chocolate bar now.

    Agreed Lynda.
    There seems to be certain promises, which may give false impressions, in Adobe's marketing copy for the Cloud. Limitations of the Cloud are barely, if at all, mentioned,
    I hope it's made a little more accurate one day.

  • How to prevent an encrypted backup from being restored to a different device?

    If I force an employee to do an encrypted backup (which I can do with a configuration profile), and that employee is fired. We take back the company iphone, but they go and buy a personal one. They connect the new, personal iphone to itunes and do a restore of the encrypted backup (they know the password) and now they have all the work related stuff on their personal phones. Is there a way to prevent an encrypted back from being restored to a different device id.

    We require encryption of our employee backups as well...and the problem you mention is a real one.....
     If you use Exchange, you could disable Exchange Active Sync to prevent them from subsequently connecting to Exchange Server and getting new data with the new personal device....but you would still have the old data as part of the backup...the other issue is that we've found that the profile is part of the backup and if an employee leaves, even on good terms, if he wants to restore say, his music from the backup without the profile, it becomes quite awkward...the profile would have to be removed, ( which removes everything added with the profile, possible email and wi-fi), then the user could backup music etc  with iTunes, then return the corporate phone to be salvaged or re-deployed...and later put his personal data back on another device without the profile...if there is a way around the issue you bring up I'd like to know of it as well. .  Perhaps there is an MDM with functionality that would help here....that is one great strength of the Blackberry platform..all corporate data can be controlled from the BES server. 

  • File type from file name

    Hi,
    Is there any standard method to get a file type from file name?
    File name can be ‘C:\test.doc’ or “C:\test’(test – is file) i.e. with or without file type extension.
    ...Naddy

    You can use the Function module PC_SPLIT_COMPLETE_FILENAME
    export paramter extension will tell the type of file
    Sample Output
    Import     COMPLETE_FILENAME     C:\TEST.TXT
    Import     CHECK_DOS_FORMAT     
    Export     DRIVE     C
    Export     EXTENSION     TXT
    Export     NAME     TEST
    Export     NAME_WITH_EXT     TEST.TXT
    Export     PATH     \

Maybe you are looking for