[REBOL] Re: File writing issue
From: brett:codeconscious at: 2-Nov-2003 12:54
As Anton wrote - show us some code - preferrably the minimum amount of code
that demonstrates the problem. Doing so avoids a lot of ambiguity.
Anyway, I've just gone through all your messages.
You wrote that you actually had it working at one point but the whole file
was not there, and that you "send" the file from the client to the server.
So I guess you mean that your client writes to a server's shared hard disk
via Netbeui for example. If so, for testing, replace the client's writing
process with a batch file to copy a test file from the client to the server
over the network - in this way you isolate the REBOL client program. You can
do the same thing at the server end, instead of sending an email, copy the
file to another directory. In this way you isolate your problem
into REBOL behaviour or Operating system behaviour.
There was a problem I encountered at work some years back when we installed
NT4 servers. This was this little behaviour where the server would delay the
writing of files to disks in order to increase performance. Problem was that
in a shared files situation some programs esp. MS Word had their file
locking defeated. There was a registry fix for the server. Now that
behaviour was before Service Pack 1 even (I think) and I don't know if it is
relevent in later versions. So it might be completely irrevelent to you -
especially if your server is not Windows NT4 - but we wait with held breath
to discover what your server actually is :^)