知识库

  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!