title: FTPSClient, What values to give for Remote and Local
body: <p>I am new to FTPSClient i trying to connect to a FTPS created in my laptop. i don't exactly what some of the methods working and their parameter meaning.
  For example,
  In my code i have created a FTPSClient as below:</p>
  
  <pre><code>FTPSClient ftps =new FTPSClient();
  </code></pre>
  
  <p>Then connected to a server use connect() method with ip address. </p>
  
  <pre><code>ftps.connect("172.xx.xx.xxx");
  </code></pre>
  
  <p>After every step i will check the reply code using.</p>
  
  <pre><code>ftps.getReplyCode();
  </code></pre>
  
  <p>In the below code i know that
  username = system username 
  password = the password to login</p>
  
  <pre><code>ftps.login(username, password);
  </code></pre>
  
  <p>In the my system in Internet Information Service(IIS). Created an ftp server with ssl and given the below directory to share.</p>
  
  <pre><code>C:\Users\karan-pt2843\Desktop\FTPS
  </code></pre>
  
  <p>Want to send the file in below directory to the server.</p>
  
  <pre><code>D:\sam.txt
  </code></pre>
  
  <p>Now i want to store a file in the server in the given above directory and i tried using</p>
  
  <pre><code>remote="";
  local="";
  InputStream input;
  input = new FileInputStream(local);
  ftps.storeFile(remote, input);
  input.close();
  </code></pre>
  
  <p>I don't know what value to give for remote and local. please help me with the values to give on them and the what happens internal.</p>