login about faq

In tectia server how to make sure uploaded files are created with current date and time ? Files show up with the same date as they were created on the client machine. We want the files to have the date they were uploaded as.

Thanks.

asked Jan 14 '15 at 21:08

cvarela's gravatar image

cvarela
1111


What client and server are you using and on which platform?

With Tectia Client and Server on Unix, when uploading a file using scpg3, the time stamp will by default be the time of upload.

If you specify the -p option with scpg3, the "last modified" date will be preserved.

link

answered Jan 16 '15 at 12:04

SSH%20KB's gravatar image

SSH KB ♦
509250247238

Hi,

The type of client is not known, it can be anything the user chooses to use. We want the server to control this setting and make sure all files have the uploaded time.

Even if the user uses -p we want the server to ignore it and create the file with the current date/time. How do we do this ?

Thanks.

link

answered Jan 16 '15 at 17:29

cvarela's gravatar image

cvarela
1111

Hi,

I'm sorry but that is not possible. That type of negotiation between the client and server has not been implemented on the protocol level and the behavior (i.e. silently ignoring the -p option) would be confusing from the client perspective and therefore not desirable.

On the other hand, if Tectia Server were to have a feature for returning an error at the -p request, all third-party clients out there could respond in different ways, e.g. by closing the connection etc.

If you deem this answer sufficient, please mark it as green. Thank you!

link

answered Jan 19 '15 at 10:40

SSH%20KB's gravatar image

SSH KB ♦
509250247238

Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

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

Tags:

×69

Asked: Jan 14 '15 at 21:08

Seen: 4,340 times

Last updated: Jan 19 '15 at 10:40

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