add error checking for copy folder
curl post fields must be a string