CrushClient Documentation
#
A leading "L" character instructs the client to apply the command to the local client versus to the remote client. lls would sit your current local folder, lcd changes the local folder. Only the file transfer commands do not have an "L" version. (put, get, diffput, diffget) If a path being references has a space in it, the path must be quoted. Example: put "some file.txt" "/some folder/my file.txt". Backslash quote escaping is permitted as well.
java -jar CrushTunnel.jar java -jar CrushTunnel.jar https://demo:demo@crushftp.com/demo/ java -jar CrushTunnel.jar https://demo:demo@crushftp.com/demo/ file://c:/temp/ java -jar CrushTunnel.jar script my_commands.txtDifferent ways to start CrushClient. If started with a script, no input will be taken, all input will be read line by line from the script as if you were physically typing it.
connect url lconnect urlExample: http://user:pass@domain.com:port/path/ or https://crushftp.com/ or https://crushftp.com/demo/ The url must end with a slash. User and pass is optional in the URL, you will be prompted for them if omitted.
disconnect ldisconnectDisconnects from the currently connected client, for use when you want to change what client your connected with.
put /local/file/path [remote file path]Transfers file/directory from local client to remote client. Example: put test.txt or put test.txt test_remote.txt or put /folder/test.txt file.txt or put /folder/test.txt /remote/test.txt
diffputSimilar to the put command, but first calculates the differences between the files and then transfers just those differences. Remote side must be a CrushFTP server.
get /remote/file/path [local file path]Transfers file/directory from remote client to local client. Example: get test.txt or get test.txt test_local.txt or get /folder/test.txt file.txt or get /folder/test.txt /local/test.txt
diffgetSimilar to the get command, but first calculates the differences between the files and then transfers just those differences. Remote side must be a CrushFTP server.
list dir ls llist ldir llsPrints out a unix styled directory listing of the remote or local side.
del /remote/path ldel /local/pathDeletes a remote file. Example: del /remote/test.txt
stat /remote/path lstat /local/pathGets info about the selected item and prints to the screen.
wait lwaitwaits for active transfers to complete with the local or remote client and prints occasional statistics about in progress transfers.
delay {milli seconds}Pauses CrushClient for the specific milliseconds to impose delays in command processing.
info linfoprints stats about current in progress transfers one time.
aborAborts all in progress transfers.
quitexits the CrushClient, aborting any in progress transfers.
diff local/path remote/pathLists the segments that are different between the two files.
Add new attachment
Only authorized users are allowed to upload new attachments.
List of attachments
Kind | Attachment Name | Size | Version | Date Modified | Author | Change note |
---|---|---|---|---|---|---|
png |
crushclient.png | 214.2 kB | 1 | 25-Feb-2021 07:39 | Ben Spink |
«
This particular version was published on 29-Dec-2020 05:25 by Ben Spink.
G’day (anonymous guest)
Log in
JSPWiki