Windows 10: Writing a huge file from memory to network share C++

Discus and support Writing a huge file from memory to network share C++ in Windows 10 Network and Sharing to solve the problem; When I try to write a huge file 40 GB from memory to a network share I can only achieve a transfer rate of 350 MB/s. But if I copy a file from the... Discussion in 'Windows 10 Network and Sharing' started by Andy_435, Feb 26, 2020.

  1. Andy_435 Win User

    Writing a huge file from memory to network share C++


    When I try to write a huge file 40 GB from memory to a network share I can only achieve a transfer rate of 350 MB/s. But if I copy a file from the system to the same network share Windows copies with a transfer rate of more than 1GB/s. 10Gbit network

    I tried WriteFile, WriteFileEx, fwrite, _write always the same result. I tried different block sizes for the write commands no difference.

    What is the difference in the Windows copy command?

    It should be possible to write a file from memory to a network share as fast as the Windows copy command does.


    best regards!

    :)
     
    Andy_435, Feb 26, 2020
    #1

  2. SHARING FILES WITH WINDOWS 7

    Hello,

    Thank you for writing to Microsoft Community Forums.

    • Have you made any changes on your PC?
    • Did you perform any Windows update recently?
    • Are you connected to Domain network?

    I suggest you to try the below steps and check if that helps.

    1. To share files over file explorer refer the following

      article
      .
    2. Refer article for
      file sharing
      over a network.

    Hope it helps.

    Let us know if you got the help you needed by clicking, Yes or No.

    Sandeep Kumar M

    Microsoft Community - Moderator
     
    Sandeep_KM, Feb 26, 2020
    #2
  3. Arun B J Win User
    C: Drive Admin Share Keeps Enabling

    Hi,



    I understand your concern and will assist you to resolve the issue.


    • Are you connected to Domain network?
    I suggest you to follow the steps below and check if it helps.

    • Press Windows + R, type fsmgmt.msc.
    • Select Shares and right click on C$.
    • Select Stop Sharing.
    Hope this helps. If the issue remains unresolved, please get back to us and we would be happy to help.
     
    Arun B J, Feb 26, 2020
    #3
  4. Writing a huge file from memory to network share C++

    Accessing files in Network Sharing PC

    Hi,



    Thank you for writing to Microsoft Community Forums.



    We understand your concern, as you are having issue with sharing of file within the computers that are connected in a network after Windows 10 1903 update.



    In this scenario, we would suggest you to perform all the steps in all the PC that are connected in the network as suggested by Roohi Taj on January 8th, 2019 in this

    post
    .



    We await your response.



    Aditya Roy

    Microsoft Community – Moderator
     
    Aditya_Roy, Feb 26, 2020
    #4
Thema:

Writing a huge file from memory to network share C++

Loading...
  1. Writing a huge file from memory to network share C++ - Similar Threads - Writing huge file

  2. Unable to save files correctly to network share with read & write permission

    in Windows 10 Network and Sharing
    Unable to save files correctly to network share with read & write permission: Saving any file to network share folder brings up an error message:z:\test2.xlsx"You don’t have permission to modify files in this network location. Contact the administrator per permission to make these changes"Facts:Saving any file to the local PC is fineThis issue happened...
  3. Unable to save files correctly to network share with read & write permission

    in Windows 10 Gaming
    Unable to save files correctly to network share with read & write permission: Saving any file to network share folder brings up an error message:z:\test2.xlsx"You don’t have permission to modify files in this network location. Contact the administrator per permission to make these changes"Facts:Saving any file to the local PC is fineThis issue happened...
  4. Unable to save files correctly to network share with read & write permission

    in Windows 10 Software and Apps
    Unable to save files correctly to network share with read & write permission: Saving any file to network share folder brings up an error message:z:\test2.xlsx"You don’t have permission to modify files in this network location. Contact the administrator per permission to make these changes"Facts:Saving any file to the local PC is fineThis issue happened...
  5. intermittent denied write to local network share

    in Windows 10 Network and Sharing
    intermittent denied write to local network share: This problem has been ongoing for about 2-3 years, and is very frustrating. The problem manifests itself between two particular computer connected within my internal network. All other computers in that same network using the same share do not have that problem, as far as I...
  6. Takes huge time to Copy Files/folders from network shared drive to local drive.

    in Windows 10 Network and Sharing
    Takes huge time to Copy Files/folders from network shared drive to local drive.: I have installed three new Dell systems on a small network. The systems are well equipped with fast CPUs and 16GB RAM and 1TB local drives. I have tried the various autotuninglevel settings and Remote Differential Compression to no effect. The older Windows 7 system they...
  7. File Sharing on the network

    in Windows 10 Network and Sharing
    File Sharing on the network: I want to share files with other specific users on our small LAN (7 PC's). Here is as far as I can get: I navigate to the file I want to share. Right click on the file Select Give access to Choose "Specific people" In Network Access I find my own sign-on is already...
  8. network / file sharing

    in Windows 10 Network and Sharing
    network / file sharing: Hi I have desktop and 2 laptops running windows 10. Homegroup is not available. I have shared the files / folders I want to use but the laptops/PCs only show up as media devices. I have shared the files exactly as shown on your help pages. All 3 devices can link to...
  9. i lost huge chunk of memory on disk C

    in Windows 10 Software and Apps
    i lost huge chunk of memory on disk C: I tried to execute copying a recent ISO file from macrium to dvd rw disc..and somehow lost a lot of memory on C..what happened? and now trying to find cause on own but cant.. I need that back.*Shock [img] [img] 68262
  10. network file sharing

    in Windows 10 Network and Sharing
    network file sharing: I apologize if this is not allowed here and will understand if it gets removed. I am hoping someone can point me in the right direction to resolve this. I need this for work. I don't want to have to buy a laptop with Windows just to do this. Thank you everyone. I am...