Re: using wget in shell for download(snort)
| From: | Richard Quadling | Date: | Mon, 11 Jul 2011 06:42:35 +0000 |
| Subject: | Re: using wget in shell for download(snort) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-314007@lists.php.net to get a copy of this message | ||
On 10 July 2011 11:38, Negin Nickparsa <nickparsa@gmail.com> wrote:
> I want to make a batch file and then exec it in php
You say "Batch" file.
Are you using Windows?
If so, try "double quotes". That is the norm for windows.
And you can either use a space or change it to %20 in the URL.
Make sure the URL is correct by using it in a browser.
I tried http://www.snort.org/reg-rules/snortrules-snapshot-2900.tar.gz/c0e9480af637e53c7aae823a40a131edc1343db5%20-Osnortrules-snapshot-2900.tar.gz
and it failed.
--
Richard Quadling
Twitter : EE : Zend : PHPDoc
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea