4

I am using the wget command for download FTP files, when i download the FTP file its showing error "Event not fount". Here i use the password like some below charater ! so its showing this error

bash: !@myipaddress: event not found

Using wget command

wget -r ftp://username:password@ip/directoryname
userad
  • 147
  • 1
  • 1
  • 6
  • Note: Default recursion depth is 5. You can use `-l inf` in addition to `-r` to remove the limit. Though you might want to look into `-m` (mirror). – user136036 Mar 24 '21 at 19:38

2 Answers2

8

You can the same command by enclosing it with quotes:

wget -r 'ftp://username:password@ip/directoryname'
Khaled
  • 36,533
  • 8
  • 72
  • 99
2

When you type a word preceded by an "!", bash thinks you want to recall a previous command or "event". The message indicates no matching event was found in your recent command history. You can suppress the special meaning of ! by escaping it (\!) or quoting it with single quotes: '!'.

mivk
  • 4,004
  • 3
  • 37
  • 32
neolix
  • 528
  • 7
  • 20