Uploading a file

Is there a way to upload a file via a web form with the type=file designation?

I have a scrape where the data that it pulls can be over 200,000 lines. As this file is too large to upload in a single csv file, and posting it to a form a line at a time is much slower, I would like to upload it automatically to a php file upload form that will insert it into the database periodically every 5,000 lines or so.

I can't sem to see how to get it to post the file to a form, though. Is this possible?

Uploading a file

OK, I downloaded the trial of the pro version, and see the option for type=FILE. Works perfectly! 30 days should give me enough time to test the idea, and I've been expecting to purchase the pro version then anyway.

Thanks for your quick response!

Uploading a file

Is that something that is unique to the pro version of screen-scraper? I'm using the basic version to test out my app until the idea is proven. I only see types POST and GET in the parameter section.

Uploading a file

Hi,

This can be done by using a parameter for your scrapeable file of type "FILE". Simply give it the path to the file on your local file system as the value.

Feel free to post a reply if I can clarify.

Kind regards,

Todd Wilson