Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

meli_on_the_job wrote:

After going back and forth w/ the user and trying to gather the info you requested, I decided to have the user try from a different machine, and it seems this issue only occurs when the file is uploaded from his machine :-/.
From the server, my machine, spare laptop etc, the timestamp is correct, so I'm really not sure where to go from here.

If would be interested in the log (from his machine) anyway.
meli_on_the_job

cant remember my pwd....

anyway - thanks prikryl.
appreciate your help.

After going back and forth w/ the user and trying to gather the info you requested, I decided to have the user try from a different machine, and it seems this issue only occurs when the file is uploaded from his machine :-/.
From the server, my machine, spare laptop etc, the timestamp is correct, so I'm really not sure where to go from here.
martin

Re: timestamp is OFF by an hour when using scripts

Thanks for your report.
I have sent you an email with a debug version of WinSCP to address you have used to register on this forum.
meliOnTheJob

It's checked by looking at the folder to which the file was copied.

Do you want a complete session from the client or server?

The client is on a Win 7 box.
The script resides on Win 2008 server(Prod).
A user uploads a file manually to the sftp box.
User then logs into Prod and calls the script, which transfer the file from sftp box to prod and dev boxes, and deletes file from the sftp.

when the file is viewed on the prod and dev boxes, the time is a hour ahead.
martin

Re: timestamp is OFF by an hour when using scripts

Please provide more details. How do you check/compare the timestamp after transfer to find the offset? Can you attach a complete session log file showing upload of a single file and note what timestamp was set and what timestamp you expected?

What version of Windows are you using? If pre-Win7, have you read following article?
https://winscp.net/eng/docs/timestamp#windows
meliOnTheJob

timestamp is OFF by an hour when using scripts

so we have a script that connects to the SFTP server, copy/transfer file from SFTP to PROD server, and then delete from SFTP server.
when the file is transferred, the time stamp is off by one hour ahead of the current time.
how can i correct this?