Cynosure.X International

:

Add Comment | Related Links | TrackBack
Related Content

WebCopy (Freeware)

WebCopy is a simple command-line Java program that will download any web page specified in its first argument. It will store the downloaded web page into a file specified in its second argument. The web page is specified as an URL. Because WebCopy is written as a command-line utility, it can be used in custom batch files and custom scripts. And written in Java, it will run on any Java-supported operating system with no need for recompilation and no need to change of your custom scripts. All these benefit combined makes WebCopy a very versatile utility.

WebCopy takes advantage of the CI Class Package. You will have to download the package and install it if you don't have it already.

WebCopy is distributed as Freeware. Please see the "Freeware License Agreement" elsewhere on this site.

Usage

  java WebCopy "url" "filename"

Example

  java WebCopy "http://www.yahoo.com/" "Yahoo Main Page.html"

Attached File: WebCopy.class

Chieh Cheng
Thu, 12 Jan 2006 23:10:13 -0800

Note that the destination file cannot exist. If the destination file exists, then WebCopy.class will output "[file name] already exists".

Chieh Cheng
Tue, 06 Apr 2010 23:47:11 +0000

After using the Java version and the PHP version of WebCopy for years, I decided that it is better if WebCopy overwrites the destination file. WebCopy becomes much more useful that way, because you can now WebCopy to a temporary files that is pre-generated for processing. The new version of WebCopy, attached below overwrites destination file if it exists.

Attached File: 1 - WebCopy.class (2 KB)

Chieh Cheng
Tue, 26 Nov 2013 21:47:01 +0300

Add Comment | Related Links | TrackBack
Related Content

Did your message disappear? Read the Forums FAQ.

TrackBack

Send Ping | TrackBack URL | Spam Control

Title: WebCopy.php (GPL)
Weblog: Cynosure.X International
Excerpt: WebCopy.php is another one of those scripts that I had to rewrite, because my original Java version (see elsewhere on this site) doesn't run on the new web hosting service. WebCopy.php is a PHP command-line script that helps you copy a web page to a local file. It only accepts two parameters: 1) . . .
Tracked: Thu, 08 Nov 2007 18:49:01 +0000

Add Comment

Spam Control | * indicates required field
Your Name: *
E-mail:
Remember Me!
Comment: *
File attachment is optional. Please do not attach a file to your submission unless it is relevent.
Attach File:
(20 MB Max)
Spam Protection: * Answer of 0 - 10?
Click button only once, please!

Messages, files, and images copyright by respective owners.

Products | Services
Forums | Latest | RSS
Library | Search | Wiki
Help | Licenses

Login | Register

19 Users Online

Hacking Digital Cameras
Fun for Photographers


Amazon Associate

Copyright © 1996 - 2017. All Rights Reserved.