Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3681544
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T03:42:00+00:00 2026-05-19T03:42:00+00:00

I have a program that takes data from an excel file and manipulates it

  • 0

I have a program that takes data from an excel file and manipulates it for the user. But in order to get updates to the excel file they need to be downloaded from a website. I originally tried using the robot class to navigate to the website, login with username and password, then navigate to the correct section of the website and find the button that says “download excel spreadsheet” and click it. But i understand that is a horrible way of doing it and it doesn’t always work.
What is a better way i can do this so that my program can go to the website and navigate to the page i want and then download the data. I read about ‘page scrapping’ but i don’t think that would allow me to do this. I really want to interact with the webpage not so much download the contents of it. Any help would be great.
Thanks,
Peter

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T03:42:01+00:00Added an answer on May 19, 2026 at 3:42 am

    If you actually need to interact with the website then selenium/webdriver is perfect for your needs:

    http://code.google.com/p/selenium/wiki/GettingStarted

    Sample Google search:

    package org.openqa.selenium.example;
    
    import org.openqa.selenium.By;
    import org.openqa.selenium.WebDriver;
    import org.openqa.selenium.WebElement;
    import org.openqa.selenium.htmlunit.HtmlUnitDriver;
    
    public class Example  {
        public static void main(String[] args) {
            // Create a new instance of the html unit driver
            // Notice that the remainder of the code relies on the interface, 
            // not the implementation.
            WebDriver driver = new HtmlUnitDriver();
    
            // And now use this to visit Google
            driver.get("http://www.google.com");
    
            // Find the text input element by its name
            WebElement element = driver.findElement(By.name("q"));
    
            // Enter something to search for
            element.sendKeys("Cheese!");
    
            // Now submit the form. WebDriver will find the form for us from the element
            element.submit();
    
            // Check the title of the page
            System.out.println("Page title is: " + driver.getTitle());
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a massive amount of data that needs to be read from mysql,
I'm having a problem w/ my program. I have extracted a set of data
I am writing a program in C++ in what I use some constant data.
My question looks like a classic one, but I cannot find the exact same
I have a plain old Windows Forms application with a WiX installer, and it
Alright, I found out in this question that polling sockets does not scale, so
OK, this isn't really a question to achieve anything practical, but still it is
For one of my projects thats kind of a content-aggregator i'd like to introduce
I'm writing a serial port software for Windows. To improve performance I'm trying to
I hope you're all well. I'm wondering if you could help me or point

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.