title: path,file name, or both are too long. name must be less than 260 characters,directory name must be less than 248 characters
body: <p>Error: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Net.WebException: An exception occurred during a WebClient request. ---> System.IO.PathTooLongException: <strong>The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.</strong></p>
  
  <p>I'm using this code in ;</p>
  
  <pre><code>public void Main()
  {
      System.Net.WebClient myWebClient = new System.Net.WebClient();
      myWebClient.DownloadFile(Dts.Variables[0].Value.ToString(),
                               Dts.Variable[1].Value.ToString());
      Dts.TaskResult = (int)ScriptResults.Success;
  }
  </code></pre>
  
  <p>where:</p>
  
  <p><code>Dts.Variables[0].Value.ToString() == https://secure.f-prot.com/keyportal/cgi-bin/keyportalorder.pl?u=l&amp;p=ooetcetcd&amp;product_id=1&amp;number_of_u=3&amp;type=1&amp;length=a&amp;partner_id=2932&amp;order_ref=4&amp;account_reference_name=audney&amp;account_reference_value=margaretculclagers%sbcglobal.net</code></p>
  
  <p><code>Dts.Variables[1].Value.ToString() == C:\Audiney_API_File\keyportal_accountinfo.pl.xml</code></p>
  
  <p>Kindly help me .</p>