login about faq

Version: Client version using batch file with scpg3.exe

Platform: Windows 2008 server

I’ve now switched to SCPG3.exe instead of using sftpg3 and have following questions

  1. What type of lock scpg3 puts on a file while picking it up? We’re looking for exclusive lock as the multiple processes will be picking up these files and need to make sure not multiple request are picking up these file.
  2. Lock Release --> In case one of the process fails during copy will the lock be released automatically? This way in case of failure on one process other will be able to pick up the file to provide reliability.
  3. Destination file availability --> File is not available until written completely at destination --> To avoid any partial file pickup and/or lock situations.

Appreciate your quick response.

Regards, Ben

asked Jan 29 '11 at 11:47

Ben's gravatar image


edited Sep 21 '11 at 17:53

SSH%20KB's gravatar image


Hi Ben,

Unfortunately Tectia client does not currently support file locking. So this won't help for points #1 and #2.

Something that could help in #3 though is the --prefix argument for scpg3. When used, it adds a prefix to the destination filename while the transfer is ongoing. The prefix is then removed after the file has been successfully transferred. This requires that whatever script picks up the file at the destination ignores the files with the specified prefix.

Another Tectia product MFT Events, although not actually supporting file locking either, is better suited for these kind of things.


answered Jan 29 '11 at 19:19

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: Jan 29 '11 at 11:47

Seen: 5,503 times

Last updated: Sep 21 '11 at 17:53

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