On Sat, Jul 09, 2011 at 05:24:01PM +0530, Narasimha Madineedi wrote:
> hi all,
> any net::ftp commands to get latest file from the directory.
>
You have the hard work yourself:
1. Either use the $ftp->dir() function to get the timestamps, parse it
and find out the latest. A bit unreliable.
2.
hii i tried ls -ltr but it doesnt workcan u suggest me someother command
On Sat, Jul 9, 2011 at 5:59 PM, Feng He wrote:
> 2011/7/9 Narasimha Madineedi :
> > hi all,
> > any net::ftp commands to get latest file from the directory.
> >
>
> won't "ls -ltr" sort the files by date?
>
--
Regar
2011/7/9 Narasimha Madineedi :
> hi all,
> any net::ftp commands to get latest file from the directory.
>
won't "ls -ltr" sort the files by date?
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
hi all,
any net::ftp commands to get latest file from the directory.
--
Regards,
Narasimha Madineedi