The process is this. I am uploading a text file to the temp, and downloading the file to the network path. The error is occurring in the download file.
What I noticed is when I send a hard coded path, it works fine, but when I dynamically get the path, using concatenation e.g. \\network\Folder\Job
The Job No. is dynamic and it is retrieved correctly.
I used the + for concatenation and the even used 'STRSUBSTNO' but it still works incorrectly.
Microsoft Dynamics NAV
This message is for C/AL programmers: The call to member MoveFile failed: Exception from HRESULT: 0x800A0046 (CTL_E_PERMISSIONDENIED).
OK
Any ideas?
Thanks in advance.
0
Comments
Found the error. Since the Path is set dynamically, there was a '\' missing at the end of the download file path.