Upload file via REST Ice.LIB.FileTransferSvc

Has anyone succesfully used the Ice.LIB.FileTransferSvc service to upload a file? I’m attempting to upload to the Import folder and get the generic 500 server error.
'Sorry! Something went wrong. Please contact your system administrator. ’

I have succesfully downloaded a file from the C:\EpicorData\Users\username\Import folder using the same service. Although the returned data string representing the text file is in some unknown format.

Problem solved.

Forgot to check the error on the server logs. The file data needs to base64 encoded which isn’t really documented in the swagger spec, but nice that the error output is verbose enough to clear up the matter.

2 Likes