Rename or copy of STDERR-File

2001-12-18 Thread Roland Schoenbaechler
Hi, I'm running a script on Windows NT. When I start the script, I redirect STDERR to a file ( "perl -w script.pl 2>errors.txt"). The runs daily as a batch-job and the error-file is overwritten. However, under some conditions I want to keep the error-file. Is there a possibility to rename or copy

Using of .netrc-File

2001-12-12 Thread Roland Schoenbaechler
I want tp use Net::FTP and Net::Netrc for the filetransfer. On UNIX it works properly. However, if I take the same script on NT the lookup of the login information does not work. Where do I have to store the .netrc file? Can somone show me an ftp-script with a .netrc file that works properly on NT