0

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
3

You can the same command by enclosing it with quotes:

wget -r 'ftp://username:password@ip/directoryname'
  • i use this command, but i have problem with my password special character like "!" – userad Feb 7 '12 at 11:46
  • Enclosing the URL with quotes should solve it! Did you try it with quotes? – Khaled Feb 7 '12 at 11:48
0

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 quoting it, for example: !

  • But My password have an "!", bash, so how could i use it – userad Feb 7 '12 at 11:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.