Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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!!
_____________________________________________________
mojobozo
word (wrd)
interj. Slang. Used to express approval or an affirmative response to
something. Sometimes used with up. Source


Comment on Re: Re: uploading to a different directory
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://211119]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (10)
As of 2014-12-19 09:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (77 votes), past polls