القاعدة المعرفية

  1. الرئيسية
  2. Problems
  3. Date not correctly displayed on AS/400
منشأ
معدل

طباعة المقالة

مقالة 2618

Date not correctly displayed on AS/400

Problem

The dates when connecting to a AS/400 server are not displayed correctly in SmartFTP.

Cause

This originates from the fact that the server uses different date formats depending on the server's locale:
YY/MM/DD
DD/MM/YY
MM/DD/YY

SmartFTP can detect the format correctly if the MM part of the date is greater than 12. However in other situations for example if the date is returned as 01/02/03 it is impossible for the FTP client to know which part of the date represents the year.

Solution

Change the LISTFMT attribute in the AS/400 FTP server configuration from *DFT to *UNIX

 

كلمات مفتاحية
date as/400

مقالات ذات علاقة


What do you think about this topic? Send feedback!