View Single Post

  #1 (permalink)  
Old 05-27-2008, 07:21 AM
nageshms nageshms is offline
Junior Member
User
 
Join Date: Jan 2008
My distro: Debian
Posts: 4
Rep Power: 0
nageshms is on a distinguished road
Smile Downloading files from ftp server with mget command

Hi,

I want download single file from remote ftp server with mget command.

Files are in following format.

BBY_product_file_200805240250.zip
BBY_product_file_200805250250.zip
BBY_product_file_200805260250.zip

I want to download latest file daily. I tried with following commad but didn't work.

$mget BBY_product_file_%date:~-4,4%%date:~-10,2%%date:~-7,2%0250.zip

Can someone help me on this ASAP.

Thanks
Reply With Quote