Change to "LOAD DATA LOCAL INFILE" to read the temp file from the client machine