I have the following URL:
ftp://myuser:[email protected]/home/myuser/test-xls
and am trying to copy a file into that directory.
Here is the code I'm using:
FileObject sourceFile =
fsManager.resolveFile("/tmp/test.txt");
FileObject targetFile =
fsManager.resolveFile("ftp://myuser:[email protected]/home/myuser/test-x
ls");
targetFile.copyFrom(sourceFile, new
AllFileSelector());
I don't get an error, and I know it can connect because I get an exception
if I break the password or site name. Any ideas why the put is not working?
Thanks,
Mike.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]