in reply to Re^2: running perl scripts behind a university wireless network
in thread running perl scripts behind a university wireless network

Did you even read Errto's reply?

You need to set the environment variable http_proxy, and ftp_proxy for the FTP protocol.

It seems like you are not allowed to contact the internet directly - most likely you are already unbeknownst using a proxy. What's in your IE settings? Is the "automatically detect proxy settings" checkbox set?

Why don't you follow my advice and ask the wireless network admins for the proxy settings?

--shmem

_($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                              /\_¯/(q    /
----------------------------  \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
  • Comment on Re^3: running perl scripts behind a university wireless network

Replies are listed 'Best First'.
Re^4: running perl scripts behind a university wireless network
by rentacode90 (Initiate) on Sep 17, 2007 at 13:53 UTC
    Yes internet explorer has automatically detect proxy settings Sorry if it looked like I was ignoring your question, just that the wireless helpdesk was closed yesterday (sunday) I have been given the proxy settings: proxy.abdn.ac.uk port : 8080 How do I set this for my script

      You have been told that by Errto in a previous reply.

      Open a cmd window and do

      C:\> set http_proxy=http://proxy.abdn.ac.uk:8080/ C:\> set ftp_proxy=http://proxy.abdn.ac.uk:8080/ C:\> my_script.pl

      Note that the trailing slash (/) is mandatory.

      --shmem

      _($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                                    /\_¯/(q    /
      ----------------------------  \__(m.====·.(_("always off the crowd"))."·
      ");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}