tags:

views:

24

answers:

2

Hi,

From a unix machine I'm trying to FTP to a server but want to log in also in the command line

e.g. ftp 10.2.3.4 username:password

Can't find the general format for doing this? ftp 10.2.3.4 -u username -p password> doesn't appear to work either?

Thanks,

A: 

You can use this notation : ftp ftp://username:password@host:port


Resources :

Colin Hebert
+1  A: 

You have a couple of choices here

  1. Use a .netrc file.
  2. ftp username:password@host
Steve Weet
answer was to update the .netrc file.
thegunner