homepage Welcome to WebmasterWorld Guest from 54.166.159.110
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
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.
jsawdy

10+ Year Member



 
Msg#: 56 posted 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.

 

tedster

WebmasterWorld Senior Member tedster us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 56 posted 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.

Brett_Tabke

WebmasterWorld Administrator brett_tabke us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 56 posted 11:03 pm on Mar 4, 2002 (gmt 0)

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

volatilegx

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 56 posted 11:13 pm on Mar 4, 2002 (gmt 0)

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

Brett_Tabke

WebmasterWorld Administrator brett_tabke us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 56 posted 11:19 pm on Mar 4, 2002 (gmt 0)

That particular use is browser dependent I think Volatilegx.

volatilegx

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 56 posted 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