Script problem.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Script problem.

Michael Van Der Beek

Hi Jeremy,

Found something new. Apparently you’ve mapped to

For some reason curl does not follow the redirect and fails to get the file.

I was trying to reinstall it to a physical machine.


Wget does follow the redirect. I’ll be changing the script to wget  and see what happens.


[root@relay tmp]# curl -O

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0

[root@relay tmp]# wget

--2014-04-28 14:38:23--


Connecting to||:443... connected.

HTTP request sent, awaiting response... 301 Moved Permanently

Location: [following]

--2014-04-28 14:38:25--


Connecting to||:443... connected.

HTTP request sent, awaiting response... 200 OK

Length: 501 [text/plain]

Saving to: âadmin-functions.sqlâ


100%[==================================================================================>] 501         --.-K/s   in 0s


Best regards,
Michael Van Der Beek

Support Division (Project)
Senior Systems Engineer (Team Leader)
Email: [hidden email]
Tel: +65 68586789 ext. 144
Fax: +65 64874567
ANTlabs on: LinkedIn Facebook Twitter

Connectivity Made Easy

The information contained in this message and any attached document(s) is intended for the named recipient(s) only. The information may be privileged and/or confidential. If you are not the intended recipient, you must not copy, disclose, disseminate or otherwise make use of the information. If you have received this message in error, please immediately notify the sender and delete or destroy any copy of this message. Thank you.