function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
shankar anandshankar anand 

Running Apex Data Loader from Command Line

Hi,

I was following the latest Data Loader Guide (https://help.salesforce.com/help/pdfs/en/salesforce_data_loader.pdf) and tried to run the Apex Data Loader from the command line in Windows. 

I'm getting the following exceptions on executing the final command: process.bat "C:\DLTest\Command Line\Config" accountInsert
java.net.UnknownHostException: login.salesforce.com
 com.sforce.ws.ConnectionException: Failed to send request to https://login.salesforce.com/services/Soap/u/30.0

After searching in google I found explanations related to proxy settings which I didn't understand. Kindly help me resolve this.
 
Andy BoettcherAndy Boettcher
UnknownHostException is telling you that your computer cannot resolve the DNS name of "login.salesforce.com".  Can you ping that host from your command line?