mfreeze at gmail.com
Mon Feb 28 01:27:58 EST 2005
Just so you guys will know...
I am transferring the file from the Linux box to Windows via a Samba
share. The 'FileSystemWatcher' component of VB.net watches the Samaba
directory for any change, then starts my series of programs on the
Another thing: (If it matters)
The amount of cr/lf's vs. cr's or lf's needs to be exact in the
conversion process. The files I am downloading are print-image
medical bills so any stray characters are disastrous to the output.
GIGO at its fullest.
Did someone say Samba might perform the conversion ?
Another work-around, or re-work that I have been considering is this:
What about instead of using VB.net to do my processing, using PHP to
parse the data into a MySQL table on the server then exporting the
completed data to the Samba share? Does anyone know if MySQL will
export into a dBase format? ( I have canned programs that must use a
dBase input file.)
On Sun, 27 Feb 2005 07:28:51 -0500 (EST), Andrew Perrin
<clists at perrin.socsci.unc.edu> wrote:
> On Sat, 26 Feb 2005, Tom Bryan wrote:
> > On Saturday 26 February 2005 02:41 pm, Andrew Perrin wrote:
> > > No, William is right - the ASCII transfer mode will handle any discrepancy
> > > between Mac and Linux, but won't handle the fact of its being eventually
> > > read on Windows, unless Windows is on one end of the FTP transfer. I
> > > hadn't thought of that!
> > I guess it depends how he's getting fhe files off of the Linux FTP server:
> > > > >> asc(13) asc(10), or cr/lf pair terminating each line. So, to make
> > > > >> my long story short, when I download files from my Windows box, my
> > > > >> VB programs can use them, but when I download them from my Linux
> > > > >> server my programs crash.
> > If that "download" is another FTP transfer, then it should also be performed
> > in ASCII mode. If that doesn't work, then I suppose that we'll hear from him
> > again soon. :-)
> An excellent point!
> Andrew J Perrin - http://www.unc.edu/~aperrin
> Assistant Professor of Sociology, U of North Carolina, Chapel Hill
> clists at perrin.socsci.unc.edu * andrew_perrin (at) unc.edu
> TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ : http://trilug.org/faq/
> TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
> TriLUG PGP Keyring : http://trilug.org/~chrish/trilug.asc
More information about the TriLUG