----- Original Message ----- From: "Pettit, Paul" <[EMAIL PROTECTED]>
To: <activeperl@listserv.ActiveState.com>
Sent: Tuesday, April 18, 2006 12:54 AM
Subject: Unlinking files in Win32.


Just to show I'm not trying to do something arcane, here is the (simple)
command I'm using:

unlink ($ticket_file_name) || &err_trap("Cannot delete
$ticket_file_name!\nMessage: $!\n");

With the above I get this:

Program error: Cannot delete C:/wwwdata/tickets/570439140! Message:
Permission denied

I don't know Windows 2003 Server and I don't use Perl 5.8.8, but I use WinXP Pro and IIS and I'm abble to unlink any file what is created by IIS and perl server-side script.
Maybe the file is used (opened) by another instance of perl script?
If you create the file look manualy to file properties. What is in the user list and what privileges they have?

Petr Vileta, Czech republic
(My server reject all messages from Yahoo and Hotmail. Send me your mail from another non-spammer site please.)


_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to