rename command unable to overwirte when used with CGI
"Gurpreet Sachdeva" <[email protected]> 24 May 2004 11:18:47 -0000
| Newsgroups | gmane.user-groups.linux.delhi.devel |
|---|---|
| Message-ID | <[email protected]> |
I am using rename command in Perl to rename a file throug the webserver (CGI/Apache)...
[Command]rename ("file1","file2");[/command]
It runs succsfully if file2 is not present but is not able to overwrite file2 if it exists...
Comments?
Regards,
GSS
P.S. rename command overwrites the file2 when not used through CGI...