title: How would I construct a terminal command to download a folder with wget from a Media Temple (gs) server?
body: <p>I'm trying to download a folder using wget on the Terminal (I'm usin a Mac if that matters) because my ftp client sucks and keeps timing out. It doesn't stay connected for long. So I was wondering if I could use wget to connect via ftp protocol to the server to download the directory in question. I have searched around in the internet for this and have attempted to write the command but it keeps failing. So assuming the following:</p>
  
  <p>ftp username is: serveradmin@mydomain.ca
  ftp host is:     ftp.s12345.gridserver.com
  ftp password is:     somepassword</p>
  
  <p>I have tried to write the command in the following ways:</p>
  
  <pre><code>wget -r ftp://serveradmin@mydomain.ca:somepassword@s12345.gridserver.com/path/to/desired/folder/
  
  wget -r ftp://serveradmin:somepassword@s12345.gridserver.com/path/to/desired/folder/
  </code></pre>
  
  <p>When I try the first way I get this error: </p>
  
  <pre><code> Bad port number.
  </code></pre>
  
  <p>When I try the second way I get a little further but I get this error:</p>
  
  <pre><code>Resolving s12345.gridserver.com... 71.46.226.79
  Connecting to s12345.gridserver.com|71.46.226.79|:21... connected.
  Logging in as serveradmin ... 
  Login incorrect.
  </code></pre>
  
  <p>What could I be doing wrong?</p>