homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

input a file from the clients directory
back slashes are being stripped from my form field.

 4:02 pm on Mar 4, 2002 (gmt 0)

I am trying to allow the user to input a file from a directory on their PC through a html form. I have an input submit with an action on the form to proceed to another .cfm process to copy that file to a directory on the server side. My problem, the type=form strips the back slashes out of the file path name. Is there anyway to stop this from happening.



 9:14 pm on Mar 4, 2002 (gmt 0)

Welcome to Webmaster World!

I've never run into this, but hold on. I'll see if I can round up any help.


 11:03 pm on Mar 4, 2002 (gmt 0)

Nope, it would be a security problem if directory paths were allowed to be passed.


 11:13 pm on Mar 4, 2002 (gmt 0)

try using regular "front" slashes, i.e. "/"


 11:19 pm on Mar 4, 2002 (gmt 0)

That particular use is browser dependent I think Volatilegx.


 12:03 am on Mar 5, 2002 (gmt 0)

there I go, thinking in "perl" again.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved