HyperCopy - Q&A
Copyright (C) by Wen-Jhy Sheen since Jun 1996(BIG5 Version Is Here)
![]() |
Mr. Q | If the path part of a remote_URL contains spaces or special characters, how can I give the command line? |
---|---|---|
Mr. A | Special characters can be encoded into %hh form, where hh is the hexadecimal code of that character inside its character table. For example, you can represent a space character as %20, or a '&' as %26. | |
![]() |
Mr. Q | Our LAN is connecting to the Internet via a firewall software. When using hcopy to perform a FTP downloading, I didn't forget to specify the -P option, but hcopy seems not able to get it through the firewall, why? |
Mr. A | Current version of hcopy can only logon a FTP proxy which supports "USER with no logon" strategy, such as Wingate, other methods are not supported yet, sorry about this! | |
![]() |
Mr. Q | When using -R option to download the whole subdirectory, hcopy seems to miss some image(s), why? |
Mr. A | Given -R option only ask hcopy to download those files under the specified directory of the remote URL, not including those not under the specified directory of the remote URL. For example, if your remote_URL is http://somewhere/dir1/ , hcopy will try to download files under /dir1/ in that site. But if some HTML pages inside that directory link to images not under that directory, say under /image/ in the same site, since these images are not under the specified remote URL directory, hcopy will skip them. If you want hcopy to down and relocate them into the local directory, you can use the -I option. Anyway, hcopy DOES skip image links not located in the same site except -HYP is given. | |
![]() |
Mr. Q | When using -X option to exclude those files that I don't want to download, say -X=not_interesting.zip, hcopy still download it, why? |
Mr. A | Patterns
that specified by -X or -Y options are used to match the
complete URL path starting from the '/' character after
the host address (and possibly
the
port number) to the end of the URL, rather than the
filename part. That
is, you have to specify a path, not a filename. In your
case, you may specify -X=*/not_interesting.zip, or -X=/subdir/not_interesting.zip , if the
directory part is /subdir. If the protocol is NNTP, the patterns specified by -X or -Y options only match the file name part rather than the complete URL path. |
|
![]() |
Mr. Q | When using soon or winat to intrigue hcopy on time, after hcopy completes, I can't find the received files or directories. Why? |
Mr. A | When using system's Schedule service to intrigue hcopy, hcopy owns the permissions of the account which is used to start up Schedule service, usually System account is the case. Please note that under such circumstances, hcopy should have enough permissions to read/write the local directory. If a local directory is not given, hcopy will store its files under its default working directory, usually the system directory. And if hcopy don't have enough permissions to access that directory, nothing will be stored. To avoid this, you should specify the local directory explicitly. | |
![]() |
Mr. Q | When using NNTP to download, hcopy downloads a file that it ever did before, why? |
Mr. A | hcopy will store Message-IDs of ever processed message in the directory specified by the -MSGID option (if given) or the msgid directory automatically created by hcopy under the local directory (if -MSGID not given). If the Message-ID directory of this time is different than previous time, hcopy will not able to find those Message-IDs that it remembered before, and will possibly download a file that it ever did before. | |
![]() |
Mr. Q | When using hcopy to download files from private servers, how can I specify a set of ID and password to logon? |
Mr. A | hcopy supports the standard syntax of URL used in World Wide Web, i.e. protocol://[user_id[:password]@]host[:port][/path]. You can give your ID and password inside an URL specification, for some examples, http://myid:mypass@ftp.your.site/ , ftp://myid:mypass@www.your.site/, or nntp://myid:mypass@news.your.site/alt.binaries.sounds.midi.rock, here, myid is the ID, mypass is the password. If not given, they are default to anonymous and hcopy@somewhere.net | |
...Please mail your question to wjsheen@m2.dj.net.tw