| HTTPsync Conditional and "Access Protected" Packing Lists
|
Using URL-encoded FORM values
The "R" line syntax of the packing list specifies the base URL for the subsequent file requests. Without "R", the files requested are based on the packing list URL, which is clearly incorrect if that URL has URL-encoded form values.
By using URL-encoded form values, the content of the list may be adjusted conditionally, or access can be denied completely. For an example script see getpacklist.pl
Access Authentication
With HTTPsync 3.0, the HTTP Basic Authentication is supported. Use the -u and -p to specify a username and password to be used for all HTTP and HTTPS requests.
Early versions of HTTPsync did not support HTTP access authentication. A method of access authentication for the packing list can be implemented ny using URL-encoded form values and a server-side script.
Example:
httpsync '@http://www.mibsoftware.com/cgi/hts_pack.lst?user=user&pass=pass'This base URL given by 'R' may be an otherwise "unpublished" URL.