Welcome to WebmasterWorld Guest from 54.147.44.93

Forum Moderators: open

Message Too Old, No Replies

input a file from the clients directory

back slashes are being stripped from my form field.

     

jsawdy

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

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

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



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

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

WebmasterWorld Administrator brett_tabke is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



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

volatilegx

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

WebmasterWorld Senior Member 10+ Year Member



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

Brett_Tabke

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

WebmasterWorld Administrator brett_tabke is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



That particular use is browser dependent I think Volatilegx.

volatilegx

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

WebmasterWorld Senior Member 10+ Year Member



there I go, thinking in "perl" again.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month