<html>
<head>
<title>ftp Library Package 2.1 for Tcl/Tk help file</title>
</head>
<body bgcolor="#ffffff" text="#000000">
<body>
<p>
<dl>
<dd>
<p><font face="Arial,Helvetica" color="#526e9c" size="+2"><b>ftp Library Package 2.1 for Tcl/Tk Manual Pages</b></font></p>
</dd>
<dd><font face="Arial,Helvetica" size="+1"><b>COMMAND</b></font></dd>
<dd><dl>
<dd><b>ftp::ModTime</b><em> handle file</em></dd>
<dd> </dd>
<dd>
The <b>ftp::ModTime</b> command gets the last modification time of the
file on the ftp server as a system dependent integer value in
seconds (see tcl's clock command) or an empty string in error cases.
<p>
</dd>
</dl></dd>
<dd><font face="Arial,Helvetica" size="+1"><b>EXAMPLE</b></font></dd>
<dd><dl>
<dd>
<pre># get modification time
puts [clock format [ftp::ModTime $conn index.htm]]
set year [clock format [ftp::ModTime $conn index.htm] -format %y]
</pre>
</dd>
</dl></dd>
</dl>
</p>
<p>
[<a href="index.html">Contents</a>]
[<b>Previous:</b> <a href="fhelp8.html">ftp::FileSize</a>]
[<b>Next:</b> <a href="fhelp10.html">ftp::Delete</a>]
</p>
<p align="left"><hr noshade size="1"><font face="Arial,Helvetica" size="-1">© 1999 <a href="mailto:[email protected]">Steffen Traeger</a></font></p>
</body>
</html>