I have to copy 75GB worth of files from various sub folders in a directory, of course this would take a right ole age to actually complete, and as our companies network is notoriously bad the idea is to potentially copy X GB worth of the data at a time overnight.
My question is this, how exactly can I implement something to get X GB worth of files? I've had a look at Directory.GetFiles and DirectoryInfo GetFiles methods, but neither of them appear to have a limit. Ideally I would like something, similar to SQL, where I could just have (obviously in C# not SQL :-P ) SELECT TOP 10000 and get a set amount of data.
Is this possible? And if so, how can I do it?