6

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
  • 167
  • 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

9

You can the same command by enclosing it with quotes:

wget -r 'ftp://username:password@ip/directoryname'
Khaled
  • 36,903
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,452
neolix
  • 528