Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
share|improve this question
add comment

2 Answers 2

up vote 2 down vote accepted

You can the same command by enclosing it with quotes:

wget -r 'ftp://username:password@ip/directoryname'
share|improve this answer
    
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
    
Thanks, its working... –  userad Feb 7 '12 at 11:54
add comment

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: !

share|improve this answer
    
But My password have an "!", bash, so how could i use it –  userad Feb 7 '12 at 11:44
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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