Thursday, 9 January 2014

SCRIPTING PART - 3

  1. echo ftpuser>ftpcmd
    echo ril@12345>>ftpcmd
    echo cd (server location) >>ftpcmd
    echo lcd (client location)>>ftpcmd
    echo bin>>ftpcmd
    echo prompt>>ftpcmd
    echo mget (files)>>ftpcmd
    echo y >>ftpcmd
    echo bye>>ftpcmd
  2. it generates above ftpcmd file
    generated file ex
    From client side
    ftp -s:ftpcmd 10.66.10.101

No comments:

Post a Comment