Hi, folks,
It has no problem to use "stat" function to retrieve the modified date of a file, which is getten from a remote server by mapping that server to the local machine. However, after I use the "NET::FTP->new" instead of Mapping, it did not work. Here is an example:
my $m_date = ((stat($remote_file))[9]);
print "$m_date\n";
during the run, there was no response to this "print" statement.
Can anybody help me to solve this problem?
Thanks.
It has no problem to use "stat" function to retrieve the modified date of a file, which is getten from a remote server by mapping that server to the local machine. However, after I use the "NET::FTP->new" instead of Mapping, it did not work. Here is an example:
my $m_date = ((stat($remote_file))[9]);
print "$m_date\n";
during the run, there was no response to this "print" statement.
Can anybody help me to solve this problem?
Thanks.