Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error 0x1a95 when writing on network folder
#1
Hi !

I'm having an issue with writing files on network drives. Sometimes it works, sometimes not.

For example :

str a="Random Text"
a.setfile("Y:\test.txt" -1 -1 -1)

Where Y: is a shared network folder.

As i said, sometimes it's OK, but sometimes there is this error on qm output :
cannot open or create file: The remote server or share does not support transacted file operations. (0x1A95).

Can you help me ? Thanks :-)
#2
You use flags -1. It means "all flags". Probably QM uses transaction when flag 0x100.
#3
I always thought the -1 flag meant "+ newline"... Thanks Gintaras, it works with a.setfile("Y:\test.txt" -1 -1 1) :-)


Forum Jump:


Users browsing this thread: 2 Guest(s)