Server file access from function on cloud

It’s not meant to, you are missing part of the process.

More like this:

CallService<FileTransferSvcContract>(fileTransfer =>
{
    byte[] dataBytes = fileTransfer.DownloadFile(Epicor.ServiceModel.Utilities.SpecialFolder.UserData, $"{UserID}\\{ECOGroupID}\\{FileName}");
});

3 Likes