diff options
author | slewis | 2008-06-07 16:42:37 +0000 |
---|---|---|
committer | slewis | 2008-06-07 16:42:37 +0000 |
commit | be2c8472fe441aa933696bf863c9c102272c803e (patch) | |
tree | 30d72b618dc5cc87adddf974af2f4a64302f403a | |
parent | 51b7f2d4dfff0a518fec97981a503e9797856bef (diff) | |
download | org.eclipse.ecf-be2c8472fe441aa933696bf863c9c102272c803e.tar.gz org.eclipse.ecf-be2c8472fe441aa933696bf863c9c102272c803e.tar.xz org.eclipse.ecf-be2c8472fe441aa933696bf863c9c102272c803e.zip |
Javadocs (only) fix for 236145
-rw-r--r-- | framework/bundles/org.eclipse.ecf.filetransfer/src/org/eclipse/ecf/filetransfer/ISendFileTransferContainerAdapter.java | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/framework/bundles/org.eclipse.ecf.filetransfer/src/org/eclipse/ecf/filetransfer/ISendFileTransferContainerAdapter.java b/framework/bundles/org.eclipse.ecf.filetransfer/src/org/eclipse/ecf/filetransfer/ISendFileTransferContainerAdapter.java index 0f0c2fab8..e8041e50c 100644 --- a/framework/bundles/org.eclipse.ecf.filetransfer/src/org/eclipse/ecf/filetransfer/ISendFileTransferContainerAdapter.java +++ b/framework/bundles/org.eclipse.ecf.filetransfer/src/org/eclipse/ecf/filetransfer/ISendFileTransferContainerAdapter.java @@ -45,12 +45,15 @@ import org.eclipse.ecf.filetransfer.identity.IFileID; * } * } * }; - * // Specify the target user to receive file being sent - * ID userID = target user id to receive file; + * // Specify the target file ID + * // This following specifies the path: ~/path/filename.ext + * ID targetID = FileIDFactory.getDefault().createFileID(ftc.getOutgoingNamespace(),new URL("scp://user@host/path/filename.ext")); + * // This following specifies the path: /path/filename.ext + * // ID targetID = FileIDFactory.getDefault().createFileID(ftc.getOutgoingNamespace(),new URL("scp://user@host//path/filename.ext")); * // Specify the local file to send * File localFileToSend = new File("filename"); * // Actually send outgoing file request to remote user. - * ftc.sendOutgoingRequest(userID, localFileToSend, listener, null); + * ftc.sendOutgoingRequest(targetID, localFileToSend, listener, null); * } * </pre> * |