many, many thanks jason. my solution was changing the anonimus user acces in the IIS configuration. but discusion it with my work partners, they told me that this was no the rigth solution.
i forget to tell that IIS server is running in my machine. its suposed that i am the webmaster of the company that i am working in. ;)) and i have this configuration because i first experiment and then i put it on the intranet. again many thanks rgmd ------------------------- Make it with MacPerl ----- Original Message ----- From: "King, Jason G" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 20, 2003 8:21 PM Subject: RE: IIS dont read other machines conected to my machine??? Administrador Intranet Internet writes.. >opendir DIRDATOS, "i:\\"; >@things_inside_i= readdir DIRDATOS; >closedir DIRDATOS; >print "Content-type: text/plain\n\n"; >print "@things_inside_i"; > >i have this script, and with it i am trying to read inside the >machine that has the 'I' letter to my machine. Drive mappings are something that is configured for each user on the machine. If your login is ABC and the IIS server is running as IUSR_Machine then the "I:" drive mapping that you can see as ABC will not be able to be seen by IUSR_Machine. Best idea is to use the full UNC path: \\remote_machine_name\share_name_that_i_is_mapped_to Note that in Perl the \ character is an escape character, so you'd be advised to use forward slashes (which will work) when coding your perl, eg: opendir DIRDATOS, "file://remote_machine/share_name"; You'd also be advised to check the success of that opendir, had you done this originally you would have got a meaningful error message when trying to opendir the I: drive: opendir DIRDATOS, "file://remote_machine/share_name" or die "Bad opendir: $!"; -- Jason King _______________________________________________ ActivePerl mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs _______________________________________________ ActivePerl mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
