title: How to retrieve the file creation date from ftp
body: <p>I am using the library <code>com.enterprisedt.net.ftp.FileTransferClient</code> to download the files from ftp server.</p>
  
  <p>I am trying to retrieve the ftp file creation date using the method <code>FileTransferClient getModifiedTime(java.lang.String remoteFileName)</code></p>
  
  <p>But receiving the below error:</p>
  
  <blockquote>
    <p>com.enterprisedt.net.ftp.FTPException: 550 command MDTM is not
    available for 'AAAA.BBBB.CCCC.DDDDDD.EEEEEEEEEE(0)'</p>
  </blockquote>
  
  <p>I tried using the command <code>quote mdtm 'filename'</code> from command line and same response.</p>
  
  <p>Looked at both the links </p>
  
  <ol>
  <li><p><a href="http://www.nsftools.com/tips/RawFTP.htm" rel="nofollow">http://www.nsftools.com/tips/RawFTP.htm</a></p></li>
  <li><p><a href="http://www.nsftools.com/tips/MSFTP.htm" rel="nofollow">http://www.nsftools.com/tips/MSFTP.htm</a></p></li>
  </ol>
  
  <p>But could not find any alternative or workaround for this..Any thoughts?</p>
  
  <p>EDIT: Tried the command <code>remotehelp</code> and below is the response :</p>
  
  <blockquote>
    <p>214-The server-FTP commands are: 214-ABOR,*ACCT,*ALLO, APPE, CDUP, 
    CWD, DELE, FEAT, HELP, LANG, LIST, MDTM, MKD 214-MODE, NLST, NOOP,
    OPTS, PASS, PASV, PORT,  PWD, QUIT, REIN, REST, RETR, RMD 214-RNFR,
    RNTO, SITE, SIZE, <em>SMNT, SYST, STAT, STOR, STOU, STRU, TYPE, USER
    214-ADAT, AUTH, CCC, PBSZ, PROT, EPSV, EPRT 214-The commands preceded
    by '</em>' are not implemented</p>
  </blockquote>
  
  <p>As per the response server should support the command <code>MDTM</code>..Am i doing anything wrong here?</p>