login about faq

We are currently trailing the Tectia sftpg3 v6.1.3 on a Windows 7 machine to ensure it matches our needs. Everything is looking great so far but we would like to format the output for logging purposes, which the application does seem to support. Using the batch file method to transfer files between servers, according to the documentation the following command/string...

put -u --statistics=yes --statistics-format="%xy%xt%xd%xh%xm%xs" *

should return, if the datetime stamp is '23/02/2012 11:48:14' (UK Date)


but unfortunately I get the following...

Thu Feb 23 2012 11:48:14 +0100yThu Feb 23 2012 11:48:14 +0100tThu Feb 23 2012 11:48:14 +0100dThu Feb 23 2012 11:48:14 +0100hThu Feb 23 2012 11:48:14 +0100mThu Feb 23 2012 11:48:14 +0100s

Any help would be greatly appreciated as I'm not sure what I'm doing wrong here?

asked Feb 23 '12 at 13:20

Anthony's gravatar image


Well I have tried multiple definitions listed in the documentation and most do not work correctly. For example the 'r' and 'n' also do not perform as intended either on a windows machine.

This looks like a bug in the --statistics-format command to me and unfortunately I will have to revert back to the original format of the statistics. Hopefully this will help any further people pulling their hair out :(


answered Feb 27 '12 at 17:53

Anthony's gravatar image


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: Feb 23 '12 at 13:20

Seen: 4,068 times

Last updated: Feb 27 '12 at 17:53

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