I'm trying to set up a program to automatically grab a few data files from a data provider on a daily basis. There are however, several obstacles to this:
1) The site requires a login / password, so it's not just a simple grab a page and parse it.
2) There's a lot of javascript involved, and in multiple frames on the page.
3) It doesn't simply just display the data on the page either. There's 2 options to retrieve the data that I can possibly use.
a) It will pop up a window displaying the data
b) (preferred method if possible to automate) It will start a file download for a .csv file containing the data.
On the off chance that someone has experience with this particular site, it's jpmorgan's dataquery service. Is there any way for me to hold a session and issue javascript commands and accept downloads, etc within a C#, C++, or C program just like internet explorer can (also note that this site doesn't work right in firefox, because it's a piece of crap). My preferred language would be C#, then C++, then C. If there's libraries out there for any of these, that'd be great, and if there's libraries out there for ANY language that can do something like this, I'll take what I can get.
I can provide copies of the site's javascript on request.
4 2075
this site doesn't work right in firefox, because it's a piece of crap
To the contrary, Firefox is the most standards compliant browser available while IE6/7 is nine years behind web standards. In particular, if you are using the DOM.
If it doesn't work in FF, then there is most likely something wrong with your code. Always use Firefox or Opera or Safari as your initial reference. Never, ever use IE as your initial test.
To the contrary, Firefox is the most standards compliant browser available while IE6/7 is nine years behind web standards. In particular, if you are using the DOM.
If it doesn't work in FF, then there is most likely something wrong with your code. Always use Firefox or Opera or Safari as your initial reference. Never, ever use IE as your initial test.
No, I was saying the site is a piece of crap (which is why it's so hard to work with it).
It's not my site, I need to pull data FROM the site.
Heh. That is kind of funny.
Wasn't my idea to use this data provider.. Just doing what I'm told to...
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Joe |
last post by:
I need to connect to 10 web sites to grab content from them. I would
like to connect to each site simultaneously so that I can obtain the
data as fast as possible.
I am familar doing this with perl by using parallel sockets or the
module LWP-Parallel. So what would be the best method to do this in
php? Sockets, forks?
Also, if possible, could someone provide me with a good reference site
that will help me accomplish this?
|
by: Aliza Klein |
last post by:
Hi.
A client of mine has a website with a standard "Contact Us" form page with
name, address etc.
The information is currently sent via email to the client and is then data
entered into their Access (2000) system.
I am sure there is a better way of doing this.
|
by: Jesse Engle |
last post by:
i'm working on two client and server programs that send and recieve files
using sockets. i saw a c++ example using csockets, and thought i could use
the basic idea of what the code was doing to form my own c program.
i have an idea of how to send binary files via sockets, but the problem is
that to use send() i need to know the size (in bytes) of the file i want to
send.
any ideas on how to accomplish this?
|
by: bwalke |
last post by:
Help Needed Please!!! With a VB.NET web application, I am trying to
save pictures and files to a directory on the web server. However, the
web server is not grabbing the Posted Files. For example:
File1.PostedFile Is Nothing = True. Like it always seems to go, this
page and the File1.PostedFile method works perfectly fine on my
development machine(XP Pro, VS.NEt, .Net 1.1). Is there any causes or
reason why the web server(2000 Server,...
|
by: Jonathan Wood |
last post by:
Hi,
I'd like to build a .NET Website that has any number of documents that
visitors can read. In addition to the documents, I may have one or two
downloads associated with each document. I'm trying to figure out the best
way of storing these files and documents (database vs. Web pages).
I asked this once before and got some comments about using both. And, in
fact, I've just been able to confirm that this is what sites like Code...
| |
by: Sarah Marriott |
last post by:
Our website contains session variables that are used to validate if a user is
logged in etc. We have found that these variables are randomly lost while
navigating the website.
We set up some basic code (as shown below) which used a meta tag to refresh
an aspx page every second. It tests whether there is any content in a
session variable, if not then it writes a timestamp to a text file, recreates
the data in the variable and continues....
|
by: Chris |
last post by:
I have a meetings section I'm developing on our intranet. Using PHP/MySQL.
Meeting info and Meeting docs reside on 2 related tables in the db. Users
may want to upload anywhere from 1 to 10 or more documents to share/use
during a meeting presentation. What would be the most efficient way to
approach this? This is the logic I'm currently considering:
Page 1: Meeting Information input with link to a document upload page (this
page...
|
by: Amer Neely |
last post by:
I've got a dynamically built form with checkboxes for each element ( a
list of file names in a directory). I need to grab only those checkboxes
that are checked, so I can then delete those files.
Does each checkbox name have to be unique? I was hoping to just group
them under one name, and select from that array.
PHP is not my native language - I'm coming at this from Perl, so bear
with me, things are a little different in that country.
|
by: darrel |
last post by:
I've decided that instead of doing an XSLT transformation on a file, I might
be better off bringing it in as a dataset and having a bit more direct
control over it at that point.
The question I have is if one can determine the node depth as they import
the XML. I could, obviously, just put the node depth in as another xml
element at the time of creation, which really isn't a big deal, but thought
I'd see if I could do it on the import...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |