diff --git a/pgdl.cabal b/pgdl.cabal
--- a/pgdl.cabal
+++ b/pgdl.cabal
@@ -1,6 +1,6 @@
 
 name:                pgdl
-version:             8.4
+version:             8.5
 license:             PublicDomain
 license-file:        LICENSE
 author:              sifmelcara
diff --git a/src/RealWorld.hs b/src/RealWorld.hs
--- a/src/RealWorld.hs
+++ b/src/RealWorld.hs
@@ -31,11 +31,10 @@
     when fex $ removeFile localloc
 
     let purepath = reverse . dropWhile (/= '/') . reverse $ servpath
+    let url = "http://" ++ purepath ++ vu
     case username of
-        ""  -> let url = "http://" ++                                       purepath ++ vu
-               in runCommand $ "nohup curl " ++ addq url ++ " -o " ++ addq localloc ++ "&>/dev/null &"
-        _   -> let url = "http://" ++ username ++ ":" ++ password ++ "@" ++ purepath ++ vu
-               in runCommand $ "nohup curl " ++ addq url ++ " -o " ++ addq localloc ++ "&>/dev/null &"
+        ""  -> runCommand $ "nohup curl -L "                                          ++ addq url ++ " -o " ++ addq localloc ++ "&>/dev/null &"
+        _   -> runCommand $ "nohup curl -L -u " ++ username ++ ":" ++ password ++ " " ++ addq url ++ " -o " ++ addq localloc ++ "&>/dev/null &"
     let checkFile = doesFileExist localloc >>= \ready -> unless ready checkFile
     checkFile
     case buildOS of
