知识库

主页 > How To > How To move items to another folder after transfer

创建日期 31 Oct 2009
修改日期 01 Nov 2009
点击 3778

打印 打印文章

File 文章 2634

How To move items to another folder after transfer

Goal

You would like to move the items after they have been transferred to another folder on the source.

Example 1

You want to upload all files from local folder C:\Upload to a server. After the files have been transferred you want to move them into the C:\Archive folder on your computer.

Example 2

You want to upload a single file on your local computer from C:\Upload\file.pdf to a server. After the transfer completed you want to move this file to the C:\Archive folder on your computer.

Solution

For Example 1

  1. Setup a scheduled transfer as described in
    KB: How to schedule a transfer
    KB: How to selectively transfer files
  2. Download and install the SmartFTP Client SDK
  3. Right-click on the transfer queue item, select Properties from the context menu
  4. Go to the Script dialog
  5. Click on the Browse button
  6. Select the MoveAddedSourceItemsToFolder.js script from the C:\Program Files\SmartFTP SDK\Samples\TransferQueueItem\JScript folder
  7. Enter the folder where you want to move the files to into the Arguments input field. e.g. C:\Archive

For Example 2

  1. Setup a scheduled transfer as described in
    KB: How to schedule a transfer
  2. Download and install the SmartFTP Client SDK
  3. Right-click on the transfer queue item, select Properties from the context menu
  4. Go to the Script dialog
  5. Click on the Browse button
  6. Select the MoveSourceItemToFolder.js script from the C:\Program Files\SmartFTP SDK\Samples\TransferQueueItem\JScript folder
  7. Enter the folder where you want to move the files to into the Arguments input field. e.g. C:\Archive

关键字

相关文章
File How To schedule a transfer


此文是否解决了您的问题,请选择 1 到 5。

1 毫无帮助

5 问题已解决

What do you think about this topic? Send feedback!