Copy File To Folder

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
Jhstephenson
Posts: 297
Joined: Wed Apr 22, 2015 11:44 pm

Copy File To Folder

Post by Jhstephenson »

I have a need to take media files that are referenced in a BO and download them to a folder. I am using the following:

EXPORT DOCUMENT MediaFiles.MediaDocument TO FOLDER 'c:\temp\'

This works except for one small problem. It is copying them to drive 'C' on the server not on the local computer where the app is being accessed from.

How do I get them to be placed in the 'Temp' folder on whatever computer this is being run on?

I know there is a potential issue with mobile devices, but I will deal with that later. For right now just assume that someone is doing this from a desktop or laptop that has a 'C:\Temp\' folder.

Thanks,
Jim
Post Reply