The LOCAL capability for LOAD DATA may be disabled in the MySQL client library by default. When you connect to the database, add the option "mysql_local_infile=1" to your connect string, LOAD DATA LOCAL will be enabled.
(However, this option doesn't work if the server has also been configured to disallow LOCAL.)