Re: Handling File Uploads : ASCII/Binary transfers
| From: | Chris Lee | Date: | Wed, 21 Feb 2001 17:18:58 +0000 |
| Subject: | Re: Handling File Uploads : ASCII/Binary transfers | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-41006@lists.php.net to get a copy of this message | ||
your using an html for to upload the files ? this is strange, I use an html
form to upload binary images, all is well so its strange its mangeling your
ascii db file. how does the file look when it gets to the server? try saving
it somewhere, compare it to the origonal.
--
Chris Lee
Mediawaveonline.com
em. lee@mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
"Jeff Gannaway" <webmaster@cactusgraphics.com> wrote in message
news:200102211654.KAA19750@ares.host4u.net...
> I'm no whiz with header types, so my attempts with the PHP.net docs wasn't
> too successful...
>
> 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.
>
> The problem is that whatever transfer method is used is causing some data
> corruption.
>
> 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???
>
> Thanks!
> -Jeff Gannaway
> _______________________________________________________
>
> 2001 Wall Calendars....
> * Art, Jazz, Blues, Women's, African-American.
> * Everyday Discounts.
> * Excellent paper and reproductions.
>
> And as always, a great selection of abstract,
> contemporary and African-American art prints.
>
> PopStreet.com is your avenue to art.
> http://www.popstreet.com
> _______________________________________________________
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>