Copying a file but getting a directory

"Alexandre Da Silva Duarte" <[email protected]>
Newsgroups gmane.comp.jakarta.slide.user
Message-ID <[email protected]>
Hi,

	I am running WCK and I am getting a strange behavior with the
copyMethod/moveMethod:

// just copying a file to another directory
res.setPath("/slide/files/directoryX/fileA.rtf");
boolean result = res.copyMethod("/slide/files/directoryY/fileA.rtf");

	But at the end of this execution I got a directory called
"fileA.rtf" instead a file.
	Someone knows what am I doing wrong?

Thanks in advance
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.