Re: [go-nuts] Windows Write Call Error when Writing to Network mapped Folder.

2020-09-24 Thread Konstantin Khomoutov
On Tue, Sep 22, 2020 at 10:56:43AM -0700, helhadad wrote: > Hi Folks, > I am trying to create file and write to it on a *network mapped drive*, > which I can access, create, delete and edit files using windows explorer or > CMD (Windows 10/Server 2016). > > You can find all details of the iss

Re: [go-nuts] Windows Write Call Error when Writing to Network mapped Folder.

2020-09-23 Thread Ian Lance Taylor
On Wed, Sep 23, 2020 at 10:25 AM Hesham Elhadad wrote: > > Thanks Ian, > The root cause of this issue is not the hard drive, it is something with > overlapped offset and high offset values, need to be set to 0 to have a > smooth APPEND to the file. > I need to use /x/sys/windows package to call

Re: [go-nuts] Windows Write Call Error when Writing to Network mapped Folder.

2020-09-23 Thread jake...@gmail.com
On Wednesday, September 23, 2020 at 1:26:10 PM UTC-4 helhadad wrote: > Thanks Ian, > The root cause of this issue is not the hard drive, it is something with > overlapped offset and high offset values, need to be set to 0 to have a > smooth APPEND to the file. > I need to use /x/sys/windows pac

Re: [go-nuts] Windows Write Call Error when Writing to Network mapped Folder.

2020-09-23 Thread Hesham Elhadad
Thanks Ian, The root cause of this issue is not the hard drive, it is something with overlapped offset and high offset values, need to be set to 0 to have a smooth APPEND to the file. I need to use /x/sys/windows package to call this function WriteFile(handle Handle, buf []byte, done *uint32, overl

Re: [go-nuts] Windows Write Call Error when Writing to Network mapped Folder.

2020-09-22 Thread Ian Lance Taylor
On Tue, Sep 22, 2020 at 11:14 AM helhadad wrote: > > Hi Folks, > I am trying to create file and write to it on a network mapped drive, which I > can access, create, delete and edit files using windows explorer or CMD > (Windows 10/Server 2016). > > You can find all details of the issue and respo

[go-nuts] Windows Write Call Error when Writing to Network mapped Folder.

2020-09-22 Thread helhadad
Hi Folks, I am trying to create file and write to it on a *network mapped drive*, which I can access, create, delete and edit files using windows explorer or CMD (Windows 10/Server 2016). You can find all details of the issue and response from other Go-Expert below: https://stackoverflow.com