Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Appending to Files on NT?

by wog (Curate)
on Jan 22, 2002 at 04:52 UTC ( #140552=note: print w/ replies, xml ) Need Help??


in reply to Appending to Files on NT?

You can probably tell what the problem is by including the special variable $! in the error message.

update: added link


Comment on Re: Appending to Files on NT?
Download Code
Re: Re: Appending to Files on NT?
by mr_dont (Beadle) on Jan 22, 2002 at 05:02 UTC

    Right wog!

    Thanks for the tip! It was a permissions problem. Hmmm... I hope I hope I can set the permissions of the file on the NT server using my linux ftp client!

(tye)Re: Appending to Files on NT?
by tye (Cardinal) on Jan 22, 2002 at 05:08 UTC

    Excellent idea. In this particular case, the value of $^E might also be helpful. I suspect that the file is open by a program that isn't sharing write access. See the Win32API::File documentation of the $svShare argument to createFile() for more information on this.

            - tye (but my friends call me "Tye")

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://140552]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (13)
As of 2014-08-01 13:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who would be the most fun to work for?















    Results (20 votes), past polls