Timestamp is two hours back to my generated file after transferring

Advertisement

Joon
Joined:
Posts:
4
Location:
Germany

Timestamp is two hours back to my generated file after transferring

Hello everyone,

I have a problem when transferring the file that my timestamp no longer fits (Excel VBA). How can I work around this problem? I've been looking for some time now but can't find the right one. How should the syntax be here?

thanks

PS: Programm

Dim mySessionOptions As New SessionOptions
Dim i As Integer
With mySessionOptions
    .Protocol = Protocol_Scp
    .HostName = xxxx
    .UserName = "xxxxx"
    .Password = "xxxxx"
    .GiveUpSecurityAndAcceptAnySshHostKey = True
End With
' Connect
mySession.Open mySessionOptions   
' Upload files
Dim myTransferOptions As New TransferOptions
myTransferOptions.TransferMode = TransferMode_Binary
Set transferResult = mySession.getFiles("/lng/" & Quelle, Ziel, False, myTransferOptions)

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
33,846
Location:
Prague, Czechia

Please attach a full session log file showing the problem (using the latest version of WinSCP).

To generate the session log file, set Session.SessionLogPath. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.

Reply with quote

Advertisement

You can post new topics in this forum