Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - FrontPage Directories
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forum LockedFrontPage Directories

 Post Reply Post Reply
Author
cbassoc View Drop Down
Newbie
Newbie


Joined: 26 May 2005
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote cbassoc Quote  Post ReplyReply Direct Link To This Post Topic: FrontPage Directories
    Posted: 26 May 2005 at 6:45pm
I publish my site and FrontPage puts in hidden directories like "_vit_inf", etc. The RTE program picks these directories up and displays them like regular folders. Is there a way I can exclude these directories or set it up to ignore them?
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post Posted: 26 May 2005 at 7:40pm
the only way is to do a if statement to check the name of the directory if its one of the specified names dont show the directory.

or delete it off the server as they ussially aren't required
Back to Top
xeerex View Drop Down
Senior Member
Senior Member


Joined: 19 November 2002
Location: United States
Status: Offline
Points: 601
Post Options Post Options   Thanks (0) Thanks(0)   Quote xeerex Quote  Post ReplyReply Direct Link To This Post Posted: 26 May 2005 at 10:00pm
Originally posted by wrote:

Is there a way I can exclude these directories


Sure -- unless you have to publish with FP use an FTP program. The _ directories store information that communicates with the FP server extensions for publishing and certain functions. Be aware that removing the folders can jack up your FP extensions. Unless you absolutely have to use FP's publishing, they are not required though.

note: I'm an instructor and have taught beginning, intermediate, and advanced FP. I don't use it though.
Back to Top
dfrancis View Drop Down
Senior Member
Senior Member


Joined: 16 March 2005
Location: United States
Status: Offline
Points: 442
Post Options Post Options   Thanks (0) Thanks(0)   Quote dfrancis Quote  Post ReplyReply Direct Link To This Post Posted: 27 May 2005 at 9:44am
You can try to remove them but FP will just recreate them. I think everyone nailed it, if you plan to use FrontPage for management and/or publishing of the site, you should explore the "exclude" option.
 
I've been working with FP since FrontPage 97, (95?) and it has come a long way over the years. I continue to use it to manage a very large website with multiple sections, sites, and editors. It's convenient because they (the editorial staff) have limited mark up experience but are quite proficient with MS Office products.
Back to Top
xeerex View Drop Down
Senior Member
Senior Member


Joined: 19 November 2002
Location: United States
Status: Offline
Points: 601
Post Options Post Options   Thanks (0) Thanks(0)   Quote xeerex Quote  Post ReplyReply Direct Link To This Post Posted: 27 May 2005 at 6:00pm
Yep -- just write some FSO code for the RTE that ignores any directories starting with an underscore. If you have issues, I daresay that one of us can help you out in a pinch.Wink
Back to Top
cbassoc View Drop Down
Newbie
Newbie


Joined: 26 May 2005
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote cbassoc Quote  Post ReplyReply Direct Link To This Post Posted: 27 May 2005 at 7:05pm

I am a newbie at ASP, I can understand FSO code and what it does, but don't know where to start. Can you give me some quick examples of how some FSO code could, lets say ignore all directories beginning with "_" or something like that?

 
Thanks in advance!
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post Posted: 27 May 2005 at 7:29pm
if NOT Left(strFolderName,1) = "_" then

run code thats there now

END IF


thats it.. place

if NOT Left(strFolderName,1) = "_" then

above the section that write the code for that directory and


END IF

after the code where it loops/nexts onto the next one

if it doesn't work paste the section here and ill point you in the right direction
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.