S2up

= Overview = s2up is a Perl script that assists with uploading S2 layers to a site running LiveJournal Server.

= Usage = s2up [options] [filename] Options: --url="..." Specify a URL to use for uploading --help          Read this help message --auth          Specify username:password to use for authentication --authfile      Specify a file containing username:password --noninteractive No entry prompts for any reason If no filename is specified, stdin will be used. If no URL is specified, the program will try to find a string url="" in the layer code, which you can place in a comment. If no auth or authfile are specified, we'll look for the string authfile="..." in the layer code, too.

= Examples = Each example will use the following:
 * Server:
 * LayerID:
 * Username:
 * Password:
 * Authfile:
 * Filename:

Command-Line Only
C:\> perl s2up.pl --url=http://www.livejournal.com/interface/s2/1 --auth=exampleusername:password example.s2

With Authfile
Authfile : exampleusername:password Command-Line: C:\> perl s2up.pl --url=http://www.livejournal.com/interface/s2/1 --authfile=exampleusername.auth example.s2

With Authfile in Layer
Authfile : exampleusername:password Top of Layer: Command-Line: C:\> perl s2up.pl --url=http://www.livejournal.com/interface/s2/1 example.s2
 * 1) authfile="exampleusername.auth"

With URL in Layer
Top of Layer: Command-Line: C:\> perl s2up.pl --auth=exampleusername:password example.s2
 * 1) url="http://www.livejournal.com/interface/s2/1"

With Authfile and URL in Layer
Authfile : exampleusername:password Top of Layer: Command-Line: C:\> perl s2up.pl example.s2
 * 1) url="http://www.livejournal.com/interface/s2/1"
 * 2) authfile="exampleusername.auth"