title: How to login to an ftp server using shell scripting in linux?
body: <p>I want to login to my FTP server using shell scripting. I made a .sh file having contents as </p>
  
  <p>ftp
  open 172.31.1.45</p>
  
  <p>but it's not working. The second command is not executing. Please help. I am new to linux so please forgive if this is a stupid question </p>