How to Export a file to external drive?

How can I export a Image/File from Docuref Table? I need to export a document to external drive ( I need to mention path)

Save it to a temporary file by DocuActionFile::saveTempFile() and then move it where needed.

Thats nice… Thank you… Can you please help me a bit more… After I save to temp file How can I store it to external disk… Like If I have got a path “C:\temp” and file name must be test.jpg… Is it possible?

Thanks a lot… It worked… :slight_smile: :slight_smile:

You can use WinAPI::moveFile(), for example.