From: RE: Call for Top 10 reasons your form is broken
> 1) The script is trying to do something that the http user can't do.


This brings up some issues I have been trying to solve, which may or may not apply 
here.

Basically, I have a web accessed script that  (ideally) will go out and read in some 
files
from another machine, do some text processing and spit it out to the browser.

The one thing I am having problems with is really a permissions issue I guess.

When I run the script from the command line, it runs fine. but when I run it through 
the
browser, it cant open the files on the far end machine.

Both machines are wintel boxes with IIS on them.  Right now, I have a drive mapped on 
my
native box, to the directory on the far end machine.  As I said, this works fine in the
command line.

I guess my question is, what are my ways to get around this HTTP permissions (or lack
there of) problem?  Can I make the script run as a different user?  Would a module of 
some
sort be better suited for accessing the files (currently using system calls)

I can have the script reside on a unix box if that makes things easier. (actually 
ported
it over to wintel, thinking that would make things easier!)  The far end box (with the
text files) will always be a wintel box.

I realize this entails several things outside of perl, so I apologize for its lacking 
in
topicality.

Any help or direction would be greatly appreciated though!

Thanks!
JimO



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to