License
Configure how FastTransfer retrieves and uses its license file.
License Parameter
Use the --license parameter to specify the location or content of your FastTransfer license.
By default, FastTransfer will try to use the license file named FastTransfer.lic in the same directory as the FastTransfer executable. You can specify a custom license file using the --license parameter.
License Sources
FastTransfer supports multiple ways to provide a license:
1. File Path
Specify a custom license file path:
- Windows
- Linux
.\\FastTransfer.exe `
...
--license "C:\licenses\FastTransfer.lic" `
...
./FastTransfer \
...
--license "/path/to/licenses/FastTransfer.lic" \
...
2. HTTP(S) Endpoint
Retrieve the license from a remote URL where you put the license content and distribute it using https :
- Windows
- Linux
.\\FastTransfer.exe `
...
--license "https://licenseserve.yourdomain.lan/FastTransfer.lic" `
...
./FastTransfer \
...
--license "https://licenseserve.yourdomain.lan/FastTransfer.lic" \
...
3. License Content (Inline)
Provide the license content directly. Using a variable or environment variable is recommended. Usefull for Docker or Lambda deployment:
- Windows
- Linux
# Using environment variable
$env:FastTransfer_LICENSE = "LICENSE_CONTENT_HERE"
.\\FastTransfer.exe `
...
--license $env:FastTransfer_LICENSE `
...
# Using variable
$license = Get-Content "C:\licenses\FastTransfer.lic" -Raw
.\\FastTransfer.exe `
...
--license $license `
...
# Using environment variable
export FastTransfer_LICENSE="LICENSE_CONTENT_HERE"
./FastTransfer \
...
--license "$FastTransfer_LICENSE" \
...
# Using variable
license=$(cat /path/to/licenses/FastTransfer.lic)
./FastTransfer \
...
--license "$license" \
...
Syntax:
- Long form only:
--license "<path_or_content>"
Complete Example
Here's a complete example using a license from a remote server with parallel export:
- Windows
- Linux
.\\FastTransfer.exe `
--connectiontype pgsql `
--server "localhost:15432" `
--database "tpch10" `
--user "FastUser" `
--password "FastPassword" `
--query "SELECT * FROM dbo.orders" `
--directory "D:\temp" `
--fileoutput "pgsql_orders.parquet" `
--parallelmethod DataDriven `
--distributekeycolumn "YEAR(o_orderdate)" `
--paralleldegree 7 `
--merge false `
--runid "pgsql_to_parquet_parallel_datadriven" `
--license "//SharedUnc/licenses/FastTransfer/FastTransfer.lic"
./FastTransfer \
--connectiontype pgsql \
--server "localhost:15432" \
--database "tpch10" \
--user "FastUser" \
--password "FastPassword" \
--query "SELECT * FROM dbo.orders" \
--directory "/temp" \
--fileoutput "pgsql_orders.parquet" \
--parallelmethod DataDriven \
--distributekeycolumn "YEAR(o_orderdate)" \
--paralleldegree 7 \
--merge false \
--runid "pgsql_to_parquet_parallel_datadriven" \
--license "//SharedUnc/licenses/FastTransfer/FastTransfer.lic"
This example:
- Retrieves the license from a remote unc path
- Connects to a PostgreSQL database
- Exports orders data using DataDriven parallel method with 7 threads
- Uses a YEAR expression on the distribute key column
- Keeps distributed files separate (merge=false)