Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: Re: uploading to a different directory

by mojobozo (Monk)
on Nov 07, 2002 at 16:51 UTC ( #211119=note: print w/replies, xml ) Need Help??

in reply to Re: uploading to a different directory
in thread uploading to a different directory

Went back and added the line to see what it thought the path was and it came up "0", so I went and looked at the .= code again and noticed it was wrong. Now I'm using
my $uploaded_path = "\\Inetpub\\wwwroot\\uploaded_files\\"; $uploaded_path .= $base; print h2('Uploaded Path'),$uploaded_path; open FILE, ">$uploaded_path"; binmode FILE;

and it works fine. As you can see above, I also esacped the \'s. Thanks!!
word (wrd)
interj. Slang. Used to express approval or an affirmative response to
something. Sometimes used with up. Source

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://211119]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2017-11-22 04:02 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (314 votes). Check out past polls.