RainbowShaggy
❔ Create .tar with large files and send it over network through SMBLibrary
Hello, I'm trying to create .tar file and send it over network with SMBLibrary. The files packed inside the .tar can have even over dozens of gigabytes, so I can't save them in the memory just like that. To create the .tar file I've tried the latest .NET 7 TarFile class and I can specify the output into stream, but for the memory stream I will probably need to split it into chunks because I can't send a stream over the network with that library and I'm not sure how to do that. I've also read pipelines could work with it, but also not sure if that's not an overkill for this thing and I never worked with them.
2 replies