title: Trying connect to DriveHq ftp client and upload the file
body: <p>My code is for connecting to drivehq ftp client is </p>
  
  <pre><code>FTPClient client = new FTPClient();
  public boolean upload(File file){
           client.enterLocalPassiveMode();
              client.connect("ftp.drivehq.com");
  
              client.login("username", "password");
              client.enterLocalPassiveMode();
  
               fis = new FileInputStream(file);
  
               status= client.storeFile(" /c/"+file.getName(), fis);
  
               client.logout();
               fis.close();
  
  }
  </code></pre>
  
  <p>and the error message i'm getting is </p>
  
  <pre><code> java.net.SocketException: Connection reset
          at java.net.SocketInputStream.read(SocketInputStream.java:194)
          at java.net.SocketInputStream.read(SocketInputStream.java:122)
          at java.io.BufferedInputStream.read1(BufferedInputStream.java:273)
          at java.io.BufferedInputStream.read(BufferedInputStream.java:334)
          at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
          at java.io.BufferedInputStream.read(BufferedInputStream.java:254)
          at org.apache.commons.net.telnet.TelnetInputStream.__read(TelnetInputStream.java:114)
          at org.apache.commons.net.telnet.TelnetInputStream.run(TelnetInputStream.java:535)
          at java.lang.Thread.run(Thread.java:722)
  </code></pre>
  
  <p>I have seen this code is working in one video in sep-2014 but now it's not working?</p>