Skip to main content
code reformat
Source Link
Romeo Ninov
  • 19.5k
  • 5
  • 35
  • 48

0

I need to connect to a Remote FTP host via linux command line. When I try #ftp #ftp <IP address>, it prompts for username then password.. But I would like to pass username and password in single line, so remote host should not prompt username or password..

I tried passing as #ftp <pw.cfg>#ftp <ip address> <pw.cfg>, but no success. May I know the command how to pass username and password along with IP address to FTP remote host.. Ideally i will be using this command from a linux script.

pw.cfgpw.cfg: text file contains password

0

I need to connect to a Remote FTP host via linux command line. When I try #ftp , it prompts for username then password.. But I would like to pass username and password in single line, so remote host should not prompt username or password..

I tried passing as #ftp <pw.cfg>, but no success. May I know the command how to pass username and password along with IP address to FTP remote host.. Ideally i will be using this command from a linux script.

pw.cfg: text file contains password

I need to connect to a Remote FTP host via linux command line. When I try #ftp <IP address>, it prompts for username then password.. But I would like to pass username and password in single line, so remote host should not prompt username or password..

I tried passing as #ftp <ip address> <pw.cfg>, but no success. May I know the command how to pass username and password along with IP address to FTP remote host.. Ideally i will be using this command from a linux script.

pw.cfg: text file contains password

Source Link
Ratha
  • 103
  • 1

Could not pass the username password for FTP command from linux

0

I need to connect to a Remote FTP host via linux command line. When I try #ftp , it prompts for username then password.. But I would like to pass username and password in single line, so remote host should not prompt username or password..

I tried passing as #ftp <pw.cfg>, but no success. May I know the command how to pass username and password along with IP address to FTP remote host.. Ideally i will be using this command from a linux script.

pw.cfg: text file contains password