Perl, IIS, writing to network drives 
Author Message
 Perl, IIS, writing to network drives



Quote:

># For network drive
>open (FEEDBACK,
>">>\\\\servername\\sharename\\subdir\\ar$year-$yday.txt") || die
>"Couldn't create file; $!\n";

I haven't tried the UNC method, so I can't comment on this problem, but this
next one will hurt pretty bad in about 9 months...

Quote:

>print FEEDBACK "===Request - $month $mday,
>19$year====================\n\n";

No, No, No!  Do NOT prepend '19' to $year, ADD '1900' to $year, then use
$year.  Your approach will yield the 'year' '19100' next year.  It is a bit
silly (and potentially litigious) for us to be intentionally creating Y2K
issues less than a year before 2000.

--
Ethan H. Poole              | Website Design and Hosting,
                            | CGI Programming (Perl & C)..
========Personal=========== | ============================

                            | http://www.*-*-*.com/



Tue, 28 Aug 2001 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. perl, NT, IIS, can't get script to use network drive

2. Opening a network connected drive from dos w/ perl

3. Reading a networked drive

4. NT Script, Accessing network drives under scheduler

5. using network drives-newbee question

6. open error on network drives

7. rename () makes files disappear on Win32 network drive?

8. PerlIS problem reading network drive

9. system() call won't work from network drive

10. Perl, IIS and network access under perlis.dll

11. NT and network drives

12. ActivePerl from a network drive?

 

 
Powered by phpBB® Forum Software