Well, it really seems to be MS SQL Server: Use a Format File to Bulk Import Data (SQL Server)
Example says:
USE TestDatabase;
GO
TRUNCATE TABLE myFirstImport; -- (for testing)
BULK INSERT dbo.myFirstImport
FROM 'D:\BCP\myFirstImport.bcp'
WITH (FORMATFILE = 'D:\BCP\myFirstImport.xml');
GO
which is really close to what you have.
solved Which SQL platform is this code?