知識庫

  1. 首頁
  2. Features
  3. AddToQueue command line tool
建立日期
修改日期

文章 2735

AddToQueue command line tool

Summary

The AddToQueue.exe command line tool can be used to add operations (copy, move, delete) from the command line to the transfer queue.

Installation

The AddToQueue.exe tool can be found in the %ProgramFiles%\SmartFTP Client folder.

Usage

Syntax

AddToQueue.exe copy|move|delete file|folder|unknown source [destination] [--wait[=seconds]] [--overwrite] [--service]

Operations

Type

Source and Destination

Note: If the path contains any white spaces, quote the string with double quotes (").

Options

Examples

Tutorial

Locate FavoriteId

Each favorite you have configured in SmartFTP has a unique identifier assigned. This identifier is used to reference the favorite in the command line tool.
KB: FavoriteId

Test

You can start with using the FavoriteId from the pre-defined "SmartFTP FTPS" favorite:
{8DB6D858-4F03-4412-BE47-23575544231E}

To copy a file from the server to c:\temp\test.txt, use:
AddToQueue.exe copy file "{8DB6D858-4F03-4412-BE47-23575544231E}/This is a DEMO server.txt" "C:\temp\test.txt"

Wait for Completion

By default, the tool returns immediately after the operation has been queued to the transfer queue. To wait for the successful completion of the operation, add the --wait option to the command line.

Example:
AddToQueue.exe copy file "{8DB6D858-4F03-4412-BE47-23575544231E}/This is a DEMO server.txt" "C:\test.txt" --wait

關鍵字
queue,AddToQueue