Re: [ADVANCED-DOTNET] Join/Merge multiple files together

2008-02-06 Thread Mark Brackett
> -Original Message- > From: Discussion of advanced .NET topics. [mailto:ADVANCED- > [EMAIL PROTECTED] On Behalf Of Michael Sharpe > Sent: Tuesday, February 05, 2008 6:04 PM > To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM > Subject: Re: [ADVANCED-DOTNET] Join/Merge multi

Re: [ADVANCED-DOTNET] Join/Merge multiple files together

2008-02-06 Thread Ryan Heath
there would just be to intercept a request for > "bigfile001.dat" and read "file001-1.dat", "file001-2.dat", etc.=20 > > > --Mark Brackett > > > -Original Message- > > From: Discussion of advanced .NET topics. [mailto:ADVANCED- >

Re: [ADVANCED-DOTNET] Join/Merge multiple files together

2008-02-05 Thread Marc Brooks
On Feb 5, 2008 5:04 PM, Michael Sharpe <[EMAIL PROTECTED]> wrote: > There are several assumptions in your statement that are not accurate: > > 1. different clients are *already* writing to a single networked file > system > This is not true. We have a final process called our Merge that takes the

Re: [ADVANCED-DOTNET] Join/Merge multiple files together

2008-02-05 Thread Wilson, Phil
PROTECTED] On Behalf Of Michael Sharpe Sent: Tuesday, February 05, 2008 3:04 PM To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: Re: [ADVANCED-DOTNET] Join/Merge multiple files together There are several assumptions in your statement that are not accurate: 1. different clients are *already* wr

Re: [ADVANCED-DOTNET] Join/Merge multiple files together

2008-02-05 Thread Michael Sharpe
ile001-2.dat", etc.=20 --Mark Brackett > -Original Message- > From: Discussion of advanced .NET topics. [mailto:ADVANCED- > [EMAIL PROTECTED] On Behalf Of Michael Sharpe > Sent: Tuesday, February 05, 2008 12:24 PM > To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM &g

Re: [ADVANCED-DOTNET] Join/Merge multiple files together

2008-02-05 Thread Mark Brackett
008 12:24 PM > To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM > Subject: Re: [ADVANCED-DOTNET] Join/Merge multiple files together > > Sadly, no. We have no control over the consumer application of the > required data file. It cannot accept the data in chunks or pieces. > It > cannot

Re: [ADVANCED-DOTNET] Join/Merge multiple files together

2008-02-05 Thread Chris Anderson
> Sadly, no. We have no control over the consumer application of the > required data file. It cannot accept the data in chunks or pieces. > It > cannot accept a data stream either so providing it data on the fly is > out > of the question. It can only accept it as a single data file. > Otherwis

Re: [ADVANCED-DOTNET] Join/Merge multiple files together

2008-02-05 Thread Peter Ritchie
There's no documented function in Windows to do this, as the concept "append file x to file y". Thus, nothing in .NET to do this. You'd have to write something that modified the filesystem. In FAT it would be pretty easy, simply modify the file allocation table for the first file (replacing the

[ADVANCED-DOTNET] AW: [ADVANCED-DOTNET] Join/Merge multiple files together

2008-02-05 Thread Robert Fuchs
prüngliche Nachricht- Von: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] Im Auftrag von Michael Sharpe Gesendet: Dienstag, 05. Februar 2008 17:20 An: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Betreff: [ADVANCED-DOTNET] Join/Merge multiple files together Is it at all possible to combine

Re: [ADVANCED-DOTNET] Join/Merge multiple files together

2008-02-05 Thread Michael Sharpe
Sadly, no. We have no control over the consumer application of the required data file. It cannot accept the data in chunks or pieces. It cannot accept a data stream either so providing it data on the fly is out of the question. It can only accept it as a single data file. Otherwise we wou

Re: [ADVANCED-DOTNET] Join/Merge multiple files together

2008-02-05 Thread Michael Sharpe
I appreciate the performance concern and will certainly take that into consideration. The problem that I currently face is that we have a computational grid system. This system is responsible for performance analytics and returning results. Part of this process also is to generate export fil

Re: [ADVANCED-DOTNET] Join/Merge multiple files together

2008-02-05 Thread John Brett
> Is it at all possible to combine 2 (or more) data files together without > A) opening the data files to read and B) creating a "new" file out of > them? Can you change the problem to make it easier to solve? Depending upon what you need to do with the end-product, can you change the reading appl

Re: [ADVANCED-DOTNET] Join/Merge multiple files together

2008-02-05 Thread Daniel Barla-Szabo
- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Michael Sharpe Sent: 05 February 2008 06:20 PM To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: [ADVANCED-DOTNET] Join/Merge multiple files together Is it at all possible to combine 2 (or more) data files together

Re: [ADVANCED-DOTNET] Join/Merge multiple files together

2008-02-05 Thread Peter Vertes
Take a look at the FileStream class. It gives you the possibility to Append to a file. I see how in the short term appending to a file (while causing fragmentation) is a speedy process but think about it in the long run; when you try to read the data from these files back they will be heavily fra

Re: [ADVANCED-DOTNET] Join/Merge multiple files together

2008-02-05 Thread Phil Sayers
esday, February 05, 2008 11:49 AM To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: Re: [ADVANCED-DOTNET] Join/Merge multiple files together The overload on the constructor assumes that data is going to be written into the file which is being opened for Append. I do not want this. I basically want to tric

Re: [ADVANCED-DOTNET] Join/Merge multiple files together

2008-02-05 Thread Michael Sharpe
ot; class. you can specify a "Mode", which can be "Append". -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] Behalf Of Michael Sharpe Sent: Tuesday, February 05, 2008 11:20 AM To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: [ADVANC

Re: [ADVANCED-DOTNET] Join/Merge multiple files together

2008-02-05 Thread Phil Sayers
8 11:20 AM To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: [ADVANCED-DOTNET] Join/Merge multiple files together Is it at all possible to combine 2 (or more) data files together without A) opening the data files to read and B) creating a "new" file out of them? For example, lets say I

[ADVANCED-DOTNET] Join/Merge multiple files together

2008-02-05 Thread Michael Sharpe
Is it at all possible to combine 2 (or more) data files together without A) opening the data files to read and B) creating a "new" file out of them? For example, lets say I have one file that is 20MB and a second file that is 50MB. What I want to have happen is for the second data file to just be