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 page (revision-40) was last changed on 11-Aug-2022 11:21 by Ben Spink

This page was created on 29-Dec-2020 05:25 by Ben Spink

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 1 added 6 lines
!! 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 8 added 6 lines
''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:
{{{
put file.txt remote.txt&
}}}
At line 3 removed 2 lines
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. 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.
At line 6 changed one line
Different 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. Don't forget the quit command at the end or the client will wait indefinitely for more input... A script is typically ended with two lines. wait, then quit.
There are different 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. Don't forget the quit command at the end or the client will wait indefinitely for more input... A script is typically ended with two lines. wait, then quit.
At line 22 added 4 lines
java -jar CrushTunnel.jar inline_script "connect https://demo:demo@crushftp.com/demo/;put file.txt;wait;quit;"
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 31 added 3 lines
----
!!Commands
At line 27 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 35 changed one line
appe will start appending the current file to the target file.
appe will start appending the current file to the target file.\\
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 64 added 3 lines
move /local/file/path [remote file path]
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 78 removed one line
}}}
At line 137 changed one line
Example: set download_threads 10
Example: set max_threads 10
At line 200 added 16 lines
Forces a one way copy/replace sync operation. Anything on the destination not found on the source is deleted. Use extreme care when using this command as a single typo would mean it erases the target you specified!
{{{
putdel /local/file/path [remote file path]
}}}
----
List the supported ciphers for HTTPS/FTPS/FTPES connections by making a test connection outbound to https://www.crushftp.com/\\
Set the cipher to use for SSL/TLS connections.\\
List the last used cipher for the prior connection.\\
Trust all certificates, regardless if they are expired, revokes, matching, etc. Use only for debug/dev purposes, but not for real world usage!\\
{{{
cipher list
cipher set {cipher}
cipher get
cipher trust
}}}
----
At line 171 changed 2 lines
info
linfo
info [all/clear]
linfo [all/clear]
At line 226 added 75 lines
----
Causes inline script to show progress on transfers
{{{
local_echo
}}}
----
Kill app after pre-determined time amount with an error code exit.
{{{
kill 30 secs
kill 30 s
kill 1 min
kill 1 m
kill 100 hours
kill 100 h
kill 2 days
kill 2 d
kill 0 s (aborts kill)
}}}
----
Timeout on individual file transfer items FTP, HTTP(s), SFTP in seconds.
{{{
timeout 30
}}}
----
Start a tunnel with a server so you can connect through it. After starting you can connect through the tunnels port. Typically its 55555.
{{{
tunnel https://www.crushftp.com/ (you will be prompted for credentials)
tunnel https://demo:demo@www.crushftp.com/ (credentials provided inline in the URL)
tunnel list (list running and stopped tunnels)
tunnel stop {id} (stop a tunnel id you got from the list command, ids start at 1 and count up for each tunnel you create. Once stopped, a tunnel id can't be started.)
tunnel log (prints out the recent tunnel log messages)
connect http://127.0.0.1:55555/ (now you can connect normally through the tunnel that was just started)
}}}
----
Take a thread stack trace for what all CrushClient is currently working on (debug purposes only)
{{{
dumpstack
}}}
----
Take a memory dump of the CrushClient (debug purposes only)
{{{
dumpmemory
}}}
----
*'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]
}}}
----
Example script to do PGP encryption client side before uploading to a remote server (we have to turn off MD5 checking as the MD5 will no longer match if uploading to a CrushFTP server):
{{{
set md5_check false
config pgpEncryptUpload true
config pgpPublicKeyUploadPath /mypgpkeys/customer1_key.pub
connect https://user:pass@someserver.domain.com/
lcd /var/documents/
cd /
put test_file.txt
wait
quit
}}}
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;"
}}}
Version Date Modified Size Author Changes ... Change note
40 11-Aug-2022 11:21 11.667 kB Ben Spink to previous
39 20-May-2022 02:07 11.587 kB Ben Spink to previous | to last
38 19-May-2022 05:40 11.27 kB Ben Spink to previous | to last
37 05-Nov-2021 09:49 11.197 kB Ben Spink to previous | to last
36 05-Nov-2021 09:49 11.193 kB Ben Spink to previous | to last
35 05-Nov-2021 09:49 11.19 kB Ben Spink to previous | to last
34 27-Aug-2021 07:08 11.106 kB Ben Spink to previous | to last
33 27-Aug-2021 07:08 11.106 kB Ben Spink to previous | to last
32 12-Jul-2021 03:52 11.032 kB Ben Spink to previous | to last
31 09-Jul-2021 07:10 10.936 kB Ben Spink to previous | to last
30 09-Jul-2021 07:10 10.934 kB Ben Spink to previous | to last
29 09-Jul-2021 07:07 10.532 kB Ben Spink to previous | to last
28 09-Jul-2021 07:06 10.532 kB Ben Spink to previous | to last
27 17-Jun-2021 02:30 10.453 kB Ben Spink to previous | to last
26 17-Jun-2021 02:30 10.451 kB Ben Spink to previous | to last
25 25-Feb-2021 07:39 10.026 kB Ben Spink to previous | to last
24 25-Feb-2021 07:38 9.997 kB Ben Spink to previous | to last
23 29-Dec-2020 05:25 9.804 kB Ben Spink to previous | to last
22 29-Dec-2020 05:25 9.742 kB Ben Spink to previous | to last
21 29-Dec-2020 05:25 9.446 kB Ben Spink to previous | to last
« This page (revision-40) was last changed on 11-Aug-2022 11:21 by Ben Spink
G’day (anonymous guest)
CrushFTP10 | What's New

Referenced by
CrushFTP8New
LeftMenu

JSPWiki