-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Chris Burke <[EMAIL PROTECTED]> writes:
> Please check if both wget and your unzip program are properly set up. > > For wget, the following should download the website front page to > temp/t1.txt: > > load'task' > shell 'wget -O temp/t1.txt www.jsoftware.com/index.html' wget works like a champ. I looked at t1.txt with Emacs, and it appears to be a credible copy of the J Web site. > For unzip, you should be able to run the unzip program with no > argument, and get an error message from the unzipper. Wrap any path > with blanks in double quotes, for example: > > shell '"c:\program files\7-zip\7za.exe" x -y' > 7-Zip (A) 4.23 Copyright (c) 1999-2005 Igor Pavlov 2005-06-29 unzip seems to respond as you suggest, too. See ,---- | load'task' | shell 'wget -O temp/t1.txt www.jsoftware.com/index.html' | --19:36:34-- http://www.jsoftware.com/index.html | => `temp/t1.txt' | Resolving www.jsoftware.com... 202.67.223.49 | Connecting to www.jsoftware.com|202.67.223.49|:80... connected. | HTTP request sent, awaiting response... 200 OK | Length: 4,826 (4.7K) [text/html] | | 0K .... 100% 16.83 KB/s | | 19:36:35 (16.83 KB/s) - `temp/t1.txt' saved [4826/4826] | | | | shell 'unzip' | UnZip 5.52 of 28 February 2005, by Info-ZIP. Maintained by C. Spieler. Send | bug reports using http://www.info-zip.org/zip-bug.html; see README for details. | | Usage: unzip [-Z] [-opts[modifiers]] file[.zip] [list] [-x xlist] [-d exdir] | Default action is to extract files in list, except those in xlist, to exdir; | file[.zip] may be a wildcard. -Z => ZipInfo mode ("unzip -Z" for usage). | | -p extract files to pipe, no messages -l list files (short format) | -f freshen existing files, create none -t test compressed archive data | -u update files, create if necessary -z display archive comment | -x exclude files that follow (in xlist) -d extract files into exdir | | modifiers: -q quiet mode (-qq => quieter) | -n never overwrite existing files -a auto-convert any text files | -o overwrite files WITHOUT prompting -aa treat ALL files as text | -j junk paths (do not make directories) -v be verbose/print version info | -C match filenames case-insensitively -L make (some) names lowercase | -X restore UID/GID info -V retain VMS version numbers | -K keep setuid/setgid/tacky permissions -M pipe through "more" pager | Examples (see unzip.txt for more info): | unzip data1 -x joe => extract all files except joe from zipfile data1.zip | unzip -p foo | more => send contents of foo.zip via pipe into program more | unzip -fo foo ReadMe => quietly replace existing ReadMe if archive file newer `---- Does that help? Does that suggest any other diagnostic or maintenance action on my part? Thanks, Bill - -- Bill Harris http://facilitatedsystems.com/weblog/ Facilitated Systems Everett, WA 98208 USA http://facilitatedsystems.com/ phone: +1 425 337-5541 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (MingW32) Comment: For more information, see http://www.gnupg.org iD8DBQFFghls3J3HaQTDvd8RArNjAJ4hdkfzU3SQIWrXHPrl/oM4+uPmXQCfZ3A3 CCCDIAnRXXBNZU8SS3OifVo= =wDn8 -----END PGP SIGNATURE----- ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
