FileCopy

G

Guest

Thanks for taking the time to read my question.

I am trying to use FileCopy to move a file from one location to another, but
I keep getting "Permission Denied" Run Time Error 70.

I don't know why.

I am copying from the users computer to a server. There are no userID
requirements. I can't even copy from one folder on my machine to another.

Any ideas.

Here is my code.

Brad

Me.FileName = "TransferFile.xls"
Me.FilePath = "C:\"

CODE
--------------------------------------

ServerFolderPathAndFile = "\\camisnasmfc\lmk_access$\prj\VSAD\" & Me.FileName

Me.FilePath = "C:\TransferFile.xls"

FileCopy Me.FilePath, ServerFolderPathAndFile
 
G

Guest

Your problem seems to be on the server you are trying to copy the file.
Go to the folder on the server and check the permissions on the security tab
(if you are using W2K or W2003).

Check the "lmk_access\Users" if they have write/modify rigths.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top