title: Upload file via FTP from Excel VBA
body: <p>Need to upload a file (file.txt) to a server (ftp.server.com) from Excel VBA.
  (does not have to be necessarily FTP, just need to be able to put the file there and get it back, and I've got a server on GoDaddy shared hosting)</p>
  <p>What I tried was to run this script:</p>
  <pre><code>ftp -s:script.txt
  </code></pre>
  <p>script.txt:</p>
  <pre><code>open ftp.server.com
  USER
  PASS
  lcd c:\
  put file.txt
  disconnect
  bye
  </code></pre>
  <p>The error I get is:</p>
  <blockquote>
  <p>425 Could not open data connection to port 53637: Connection timed out</p>
  </blockquote>
  <p>Google tells me I need to go to passive mode, but the command-line <code>ftp.exe</code> client doesn't allow that.</p>
  <p>Do I have an easier alternative to FTP, or is there a better way to upload a file via VBA (without the command-line workaround)?</p>
  <p>I'm thinking about using DROPBOX (but I really don't want to have to install this program on all the workstations that will need the program).</p>