Welcome to WebmasterWorld Guest from 54.167.46.29

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)

Inactive Member
Account Expired

 
 


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)

Senior Member

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

joined:May 26, 2000
posts:37301
votes: 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)

Administrator from US 

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

joined:Sept 21, 1999
posts:38047
votes: 11


Nope, it would be a security problem if directory paths were allowed to be passed.
11:13 pm on Mar 4, 2002 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Mar 22, 2001
posts:2450
votes: 0


try using regular "front" slashes, i.e. "/"
11:19 pm on Mar 4, 2002 (gmt 0)

Administrator from US 

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

joined:Sept 21, 1999
posts:38047
votes: 11


That particular use is browser dependent I think Volatilegx.
12:03 am on Mar 5, 2002 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Mar 22, 2001
posts:2450
votes: 0


there I go, thinking in "perl" again.
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members