View Full Version : Dump DB to CSV
06-03-2007, 08:36 PM
I have a form that is inputing to a mySQL db. I need to dump that table to a csv file and then FTP that file to a XP folder on another computer. The problem I'm having is the transfer of the file to the XP computer.
06-04-2007, 12:39 AM
PHP. This job needs to be automatic thru a cron job.
Hm, it's probably easiest to use a shell script for the FTP transfer:
ftp -in <<EOF
user youruser yourpassword
06-04-2007, 04:14 PM
Thanks. I forgot all about shell scripting.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.