Many thanks namliam, excellent the code worked.
However, I'm now trying to copy a file (selected by the user) to the database directory.
I have a directory named "testDFirectory" in the root directory where the database is located which I want to copy the file over to.
However, when I run...