Hallo Ivanko,

Du schriebst am Sun, 12 Aug 2012 19:52:42 +0500:

>  copyfile(mstr1,'../'+mstr1,true);
> ==========
> Strange behavior - "true" here means overwriting "../mstr1".

Rather not - if the file exists, and if it is in use exclusively or
without write permission, then you _cannot_ overwrite it.
You _can_ delete the file, though, even when it is in use, provided you
have the rights to do so. The previous user will still use the _old_
version until it closes the file. If it is reopened, the new version will
be used then.
That's standard Unix file system behaviour from way back yonder times.

-- 
(Weitergabe von Adressdaten, Telefonnummern u.ä. ohne Zustimmung
nicht gestattet, ebenso Zusendung von Werbung oder ähnlichem)
-----------------------------------------------------------
Mit freundlichen Grüßen, S. Schicktanz
-----------------------------------------------------------


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to