Go Back   FlashFXP Forums > >

Custom Commands Download, share, or get help creating your own.

Closed Thread
 
Thread Tools Display Modes
Old 03-07-2017, 03:48 PM   #1
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default [script] Hash selected files using SHA-1 and save to verify.sha1

Code:
# require the local browser, abort script if remote is selected
/require local

# display busybox during operation and allow the user to cancel operation
/busybox

# delete any existing verify.sha1 file
# you could remove this to append to an existing file but that would include duplicates if the same file is hashed
/dele "%pverify.sha1"

# This will create a SHA1 file of all selected files
# using the standard SHA1 hash file format
# <sha1> <filename>
/writeln "%pverify.sha1" $sha1("%p%f") %f
bigstar is offline  
Closed Thread

Tags
existing, file, local, selected, sha1

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 11:59 PM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)