IBM Support

MDTM returns the time stamp in Local time zone as opposed to GMT time zone

Troubleshooting


Problem

MDTM returns the time stamp in Local time zone as opposed to GMT time zone

Symptom

In ftpserver.properties there is below parameter,

# By default, the MDTM command will return GMT time per the RFC specification.
# Set isMdtmGMT to be false if you want to return local time.
isMdtmGMT=true

Even though it is set to true when we ftp to the server(GIS) and do "quote mgmt <filename>", it returns local time of when it is created/modified.

Example:

ftp> open <hostname>
Connected to <hostname>.
220 GIS FTP Server (java -1.1.00) ready.
User (<hostname>:(none)): admin
331 Password required for admin.
Password:
230 User admin logged in.
ftp> dir
200 PORT command successful.
125 Data connection already open; transfer starting.
drwx------ 1 mailbox group 1024 Oct 07 15:31 EDIInboundCollection
drwx------ 1 mailbox group 1024 Oct 07 15:31 EDIInboundExtraction
drwx------ 1 mailbox group 1024 Oct 07 15:31 EDIOutboundCollection
drwx------ 1 mailbox group 1024 Oct 07 15:31 EDIOutboundExtraction
-rw------- 1 message group 256 Sep 02 20:27 encoded.txt
226 Closing data connection, ASCII transfer complete.
ftp: 1534 bytes received in 0.00Seconds 1534000.00Kbytes/sec.
ftp> quote mdtm encoded.txt
213 20090902202736

Error Message

n/a

Resolving The Problem

Removed trailing white space from the end of the isMdtmGMT=true in the ftpserver.properties file.
Please apply Sterling Integrator, Release 5.0 build 5006
Please apply Gentran Integration Suite, Release 4.3 build 4324
Please apply Sterling Integrator, Release 5.1 Build 5101 or later

[{"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Extensions","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Adapters","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Historical Number

NFX7313

Product Synonym

[<p><b>]Function Area[</b><p>];Adapters - FTP;[<p><b>]Escalation ID[</b><p>];100272;[<p><b>]Fix ID[</b><p>];203546;202635;233377;[<p><b>]Severity[</b><p>];Normal;[<p><b>]Type[</b><p>];NormalFix;[<p><b>]Build[</b><p>];5006;4324;5101

Document Information

Modified date:
11 October 2019

UID

swg21557963