Kiến thức cơ bản

  1. Trang chủ
  2. General
  3. Advanced Settings
Ngày tạo
Ngày sửa

Mục tin 2614

Advanced Settings

There are several settings that only be changed through the registry.

Description: Enables logging
Key: HKEY_CURRENT_USER\Software\SmartFTP\Client 2.0\Settings
Name: Log Level
Type: REG_DWORD (DWORD 32-bit Value)
Value: Log mask. Set to 0xffffffff for all log levels
Default: 0 (no logging)

Description: Scroll interval for the transfer status message in the window title when SmartFTP is minimized
Key: HKEY_CURRENT_USER\Software\SmartFTP\Client 2.0\Settings\Interface\Transfer Status
Name: Scroll Interval
Type: REG_DWORD (DWORD 32-bit Value)
Value: Time in milliseconds
Default: 350

Description: Template for the transfer status message in the window title when SmartFTP is minimized
Key: HKEY_CURRENT_USER\Software\SmartFTP\Client 2.0\Settings\Interface\Transfer Status
Name: 0
Type: REG_SZ (String Value)
Value: Template for uploads and downloads
Default: "{download.count} downloads at {download.speed} KB/s and {upload.count} uploads running at {upload.speed} KB/s"

Description: Template for the transfer status message in the window title when SmartFTP is minimized
Key: HKEY_CURRENT_USER\Software\SmartFTP\Client 2.0\Settings\Interface\Transfer Status
Name: 1
Type: REG_SZ (String Value)
Value: Template for downlodas
Default: "{download.count} downloads running at {download.speed} KB/s"

Description: Template for the transfer status message in the window title when SmartFTP is minimized
Key: HKEY_CURRENT_USER\Software\SmartFTP\Client 2.0\Settings\Interface\Transfer Status
Name: 2
Type: REG_SZ (String Value)
Value: Template for uploads
Default: "{upload.count} uploads running at {upload.speed} KB/s"

Description: Shows breadcrumb when queue is hidden or stopped
Key: HKEY_CURRENT_USER\Software\SmartFTP\Client 2.0\Settings\Interface
Name: Show Queue Breadcrumb
Type: REG_DWORD (DWORD 32-bit Value)
Value: 0=do not show. 1=show
Default: 1 (show breadcrumb) 

Description: Template for the Remote Browser window title
Key: HKEY_CURRENT_USER\Software\SmartFTP\Client 2.0\Settings\Interface
Name: Remote Browser Window Title Template
Type: REG_SZ (String Value)
Value: Template for window title
Default: "[{Favorite.Name}] {Location}"

Description: Displays debug message box right at the start of SmartFTP
Key: HKEY_CURRENT_USER\Software\SmartFTP\Client 2.0
Name: ShowDebugMessage
Type: REG_DWORD (DWORD 32-bit Value)
Value: 0=do not show, 1=show
Default: 0 (do not show)

Description: Automatic per-machine activation
Key: HKEY_LOCAL_MACHINE\Software\SmartFTP\Client 2.0\Settings
Name: Serial
Type: REG_BINARY (Binary Value)
Value: 128-bit serial represented as 16 bytes

Example:
String representation: {aabbccdd-eeff-1122-3344-556677889900}
Binary representation:  dd cc bb aa ff ee 22 11 33 44 55 66 77 88 99 00

Powershell script:
$serial = "{aabbccdd-eeff-1122-3344-556677889900}"
$path = "HKLM:\SOFTWARE\SmartFTP\Client 2.0\Settings"
if(!(Test-Path $path)){
    New-Item $path -Force;
}
New-ItemProperty -Path $path -Name Serial -PropertyType Binary -Value ([System.guid]::New($serial)).ToByteArray() -Force

Windows Group Policies

Description: Computer wide setting to disable the Show Password option
Key: HKEY_LOCAL_MACHINE\Software\Policies\SmartSoft\SmartFTP
Name: Expose Passwords
Type: REG_DWORD (DWORD 32-bit Value)
Value: 0=disable, 1=enable
Default: 0 (disabled)

Các từ khóa
settings,registry