UPLOAD
Use
Uploads a checked-out file to the server. It is recommended you upload checked-out files occasionally, especially when the activity for which the files are checked out will not be checked in for several days. By uploading checked-out files to the server, the content of these files will be available even if they are accidentally deleted from the local file system. For more information about downloading files from the server, see DOWNLOAD .
Syntax
|
Syntax |
UPLOAD [-f] <folderItemPath> |
|
Arguments |
|
|
[-f] |
Force upload. If this option is specified, the file is uploaded even if there was no change in the file from the time it was last uploaded. |
|
<folderItemPath> |
The path to the item to be uploaded. |
|
Description |
Uploads the content of a checked-out file to the server (without checking in). |
Example
Uploading a File
To upload the a.java file use:
upload a.java
Uploading an Unchanged File Again
To upload the a.java file even if it was not changed since the last upload use:
upload -f a.java