FileCopy from C to network drive

FileCopy from C to network drive

Hi,
I want to copy a folder from my C drive to a network drive.
On the server the connection works.
I use a tFileCopy: Source: "C:/foldertocopy/"
Destination: "//networkname/folder/"
"java.io.FileNotFoundException: firstfile (The network name cannot be found)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at org.talend.FileCopy.copyFileS(FileCopy.java:68)
at org.talend.FileCopy.copyFile(FileCopy.java:48)
at $1CopyDirectory_tFileCopy_2.copyAllFiles(.java:1635)"

Am I doing something wrong?
One Star

Re: FileCopy from C to network drive

did you checked copy a directory checkbox?

Re: FileCopy from C to network drive

Yes.
Found this:
http://support.microsoft.com/kb/875441
Because I have the same problem writing a .bat with robocopy.

Contacted my IT department.