On Wednesday 21 February 2001 12:49, Jeff Gannaway wrote:
> Here's the deal. My customer needs to upload an ASCII export file of
> database info generated by MS Access on their PC. I've written a
> script that allows them to upload their Access files then does a LOAD
> DATA INFILE command to integrate it into the MySQL database on the web
> server.
HTTP uploads shouldn't mangle *anything*...
> I ran into this problem before when I was manually FTPing export files
> then using LOAD DATA INFILE. I fixed it by switcheing from Binary FTP
> to ASCII FTP. How can this be done with a PHP script???
... but apparently you *want* it to mangle the data (convert line ends).
You server is a Unix machine? What error does Mysql give you on the
"broken" files?
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
I saw God --------- and she was black.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]