title: Remote upload using WLST
body: <p>I'm trying to perform <strong>remote uploading and deploying via WLST</strong>.
  I succeed to deploy applications already present in the path of the WebLogic server. But now, I would like to deploy one remotely available.</p>
  
  <p>Is there <strong>any possibility to upload WAR/EAR on the WebLogic server via WLST</strong> before deploying it?</p>
  
  <p>I'm running weblogic 12C.</p>
  
  <p>I tried with:</p>
  
  <pre><code>java -cp wlserver/server/lib/weblogic.jar weblogic.Deployer -adminurl t3://WeblogicServer:7001 -user weblogic -password weblogic -deploy /tmp/HelloWorld.war -remote -upload
  </code></pre>
  
  <p>give me as return:</p>
  
  <pre><code>weblogic.Deployer invoked with options:  -adminurl t3://WeblogicServer:7001 -user weblogic -deploy /tmp/HelloWorld.war -remote -upload
  &lt;6 juil. 2012 17 h 58 CEST&gt; &lt;Info&gt; &lt;J2EE Deployment SPI&gt; &lt;BEA-260121&gt; &lt;Initiating deploy operation for application, HelloWorld [archive: /tmp/HelloWorld.war], to configured targets.&gt; 
  [J2EE Deployment SPI:260080]Unable to define the application install directory at "/tmp/helloworld.war". Directory could not be created or is a file.
  </code></pre>
  
  <p>And when i check on the server, nothing is deployed.</p>