Web Wiz - Solar Powered Eco Hosting

  New Posts New Posts RSS Feed - Saving files
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Saving files

 Post Reply Post Reply
Author
ronbo View Drop Down
Newbie
Newbie
Avatar

Joined: 20 April 2005
Location: United States
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote ronbo Quote  Post ReplyReply Direct Link To This Post Topic: Saving files
    Posted: 20 April 2005 at 11:29pm
I have it so that users can over-right the files they have.  However, when the user "saves" the file, instead of saving the file as filename.htm in the my_files folder, it saves it as

my_files\filename.htm

I didn't even know you can save files with a slash like that.  Nevertheless, it kind of defeats the whole purpose!Ouch

Any ideas or quick fixes?

Thanks
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Poole
Status: Offline
Points: 9526
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 21 April 2005 at 4:31am
Try changing the \ for /
Back to Top
ronbo View Drop Down
Newbie
Newbie
Avatar

Joined: 20 April 2005
Location: United States
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote ronbo Quote  Post ReplyReply Direct Link To This Post Posted: 21 April 2005 at 7:47am
I loaded the application on an asp enabled server.  Changed the blnOverWriteFiles to true in the rte_setup.asp file.
 
Created a file and saved it (Contact.htm) in the my_files folder to test everything.  Went back to edit it and then saved it in the same location.  It ended up instead in the my_documents folder, named my_files\Contact.htm.
 
I did not touch anything concerning location paths, slashes or anything.
 
Ideas?
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.01
Copyright ©2001-2018 Web Wiz Ltd.


Become a Fan on Facebook Follow us on Twitter Connect with us on LinkedIn Community Forums Web Wiz Blogs Web Wiz News
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Policy

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 unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

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