At line 1 changed one line |
!!CrushClient Documentation\\ |
!! End User UI Download\\ |
Windows: [https://www.crushftp.com/early10/CrushClient/CrushClient_windows.exe]\\ |
macOS: [https://www.crushftp.com/early10/CrushClient/CrushClient_macOS.zip]\\ |
Linux: [https://www.crushftp.com/early10/CrushClient/CrushClient_linux.zip]\\ |
[attachments|crushclient.png] |
At line 3 changed one line |
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 referenced 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. The "local" client doesn't need to be local at all though, both clients can be remote and files can be streamed through the CrushClient. Commands can be sent into he background with a "&" at the end of them. Example: |
!!CrushClient Documentation\\ |
''The single command CrushClient info can be found here: [CrushClientSingleCommand]''\\ |
\\ |
A leading "L" character instructs the client to apply the command to the local client versus to the remote client. "lls" would list 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 referenced 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. The "local" client doesn't need to be local at all though (this of it more as the "Left" side client instead of local client), both clients can be remote and files can be streamed through the CrushClient. Commands can be sent into the background with a "&" at the end of them. Example: |
At line 23 added 3 lines |
CrushClient.exe inline_script "connect https://demo:demo@crushftp.com/demo/;put file.txt;wait;quit;" |
CrushClient.sh inline_script "connect https://demo:demo@crushftp.com/demo/;put file.txt;wait;quit;" |
CrushClient.app/Contents/MacOS/CrushClient inline_script "connect https://demo:demo@crushftp.com/demo/;put file.txt;wait;quit;" |
At line 27 added 2 lines |
''launching can be done directly with java or with the app wrappers.''\\ |
Example BAT file for Windows: [https://www.crushftp.com/early10/CrushClient/CrushClient.bat] |
At line 34 changed one line |
reget will resume the download based on the target file's size. |
reget will resume the download based on the target file's size.\\ |
There is no 'mget" command as the normal 'get' command supports one or many items, including pattern matching. |
At line 51 added 2 lines |
get /remote/file/path/*.TXT [local file path] |
get /remote/file/path/ABC???_*.TXT [local file path] |
At line 43 changed one line |
move will copy, then delete the source. |
move will copy, then delete the source.\\ |
There is no 'mput" command as the normal 'put' command supports one or many items, including pattern matching. |
At line 65 added 2 lines |
put /local/file/path/*.XML [remote file path] |
put /local/file/path/*ABC*.TXT [remote file path] |
At line 69 added 5 lines |
Similar to the putdel command, but first calculates the differences between the directories and files and lists what actions it would do if you instead used putdel. It will list out the deletes and copy actions it would do to make the remote side match the local side. This command is available as of CrushClient 1.5.2 and above. |
{{{ |
diffdir |
}}} |
---- |
At line 182 removed 6 lines |
*EXPERIMENTAL AND FLAWED*\\ |
Performs a two way sync operation. Uses the modified date on items to decide which side has the latest copy and copies in both directions. It also uses its last known run time for the sync to decide which side has the correct items and deletes items it believes were deleted from one side from the other side too! If the logic fails here, it deletes items on both sides you didn't intend for. Extreme caution should be used when considering using this command. We don't have access to any time and dates except modified times, so the logic is flawed. If you copied an item with an older date modified than the last sync time to one side, it would then get deleted as it appears as if its old...and its missing from the other side, so its not supposed to be there. Do not use this command unless you fully understand everything mentioned or you will loose data... |
{{{ |
putsync /local/file/path [remote file path] |
}}} |
---- |
At line 227 added 5 lines |
Causes inline script to show progress on transfers |
{{{ |
local_echo |
}}} |
---- |
At line 271 added 6 lines |
*'PUTSYNC' IS EXPERIMENTAL AND FLAWED! WARNING!\\ |
Performs a two way sync operation. Uses the modified date on items to decide which side has the latest copy and copies in both directions. It also uses its last known run time for the sync to decide which side has the correct items and deletes items it believes were deleted from one side from the other side too! If the logic fails here, it deletes items on both sides you didn't intend for. Extreme caution should be used when considering using this command. We don't have access to any time and dates except modified times, so the logic is flawed. If you copied an item with an older date modified than the last sync time to one side, it would then get deleted as it appears as if its old...and its missing from the other side, so its not supposed to be there. Do not use this command unless you fully understand everything mentioned or you will loose data... |
{{{ |
putsync /local/file/path [remote file path] |
}}} |
---- |
At line 289 added 27 lines |
Some additional PGP logic that could be done as well: [CrushClientPGP]. |
---- |
Jobs can be executed either on the remote CrushFTP server or locally if you have the "jobs" folder and specify a job name.\\ |
Example: |
{{{ |
job sftp_test_copy |
job remote sftp_test_copy |
job status sftp_test_copy |
}}} |
{{{ |
java -jar WebInterface/CrushTunnel.jar inline_script "job sftp_test_copy;quit;" |
}}} |
---- |
CrushTunnel.jar can be used to install background services that run at machine boot for Windows/macOS.\\ |
{{{ |
service sync |
service client |
service tunnel |
service drive |
service remove sync |
service remove client |
service remove tunnel |
service remove drive |
|
service sync_-CustomName |
service remove sync_-CustomName |
}}} |