login about faq

Hi All,

How can I automate an SFTP file transfer from a Tectia client running W2K3 to a remote Unix Host?

Many thanks in advance for help or examples.



asked Sep 12 '10 at 22:20

TeK's gravatar image


One way to do this is to create a public-key pair in the client host and configure an automatic job to perform the transfer to the Unix server on a regular basis.

It is also recommended to use a dedicated user account for this in windows.

Here are some steps on how to do this.

Using the dedicated account for this purpose:

  1. Create a public-key pair on the client host and upload public key to server

    If running Tectia Client 6.1.0 this can be done using the "Public key wizard" in the Tectia Configurator. It can also be done manually:


  2. Using the Tectia Configurator create a profile for your remote Unix host (SERVER)

  3. Create batch script using scpg3 or sftpg3 to transfer the files to the remote server

    Remember to save the server host key and use the Batch mode option in the command line so that scripts will not fail if user-interaction is needed:

    sftpg3 -B batch.txt SERVER 

    Test the script to make sure that everything is working.

  4. Wrap this command in a windows batch file (batch_transfer.cmd) and use task scheduler on the windows host to automatically launch the file transfer using a predefined schedule


answered Sep 13 '10 at 05:34

Roman's gravatar image

Roman ♦♦

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Sep 12 '10 at 22:20

Seen: 23,883 times

Last updated: Mar 28 '11 at 18:22

All user contributed content licensed under the cc-by-sa license.
Powered by OSQA.