Menu

Examples

David

Examples

Examples on how to run newsUP. It should cover most of the cases. It's possible to combine several examples.

All the examples will use whatever is configured in the config file (like for example, server, user, headercheck...)

  • upload all files in a folder

newsup --file <folder>

  • upload one file

newsup --file <file>

  • split the files, par2 and upload them

newsup --file <file> --par2 --splitnpar

  • split the files, and upload them, without creating par2 files

newsup --file <file> --nopar2 --splitnpar

  • just par2 and upload the files without splitting them

newsup --file <file> --par2 --nosplitnpar

  • upload a file for two specific groups (a.b.test and a.b.atest)

newsup --file <file> --group alt.binaries.test --group alt.binaries.atest

  • upload a file but change the name on the upload

newsup --file <file> --name "3ihyglskhsaha4"

  • upload a file but obfuscate the uploaded data

newsup --file <file> --obfuscate

  • upload a file and specify the nzb name

newsup --file <file> --nzb retrieve_later.nzb

  • upload a file and specify where to save the nzb

newsup --file <file> --nzbSavePath=/nzbs/

  • upload a file and don't generate a nzb

newsup --file <file> --noNzb

  • upload a file and avoid copying the file for the temporary folder before doing operations with him

newsup --file <file> --skipCopy

  • upload a file and add some headers to the post

newsup --file <file> --header "X-NewHeader=New Header value"

  • upload a file and add some metadata to the generated nzb

newsup --file <file> --metadata "password=this.is.my.secret"

  • upload a file and also upload the nzb generated

newsup --file <file> --unzb

  • upload a file and change the article size to 512KBytes

newsup --file <file> --uploadsize 512000

  • upload a file with TLS and ignore the server certificate

newsup --file <file> --ignoreCert

  • upload a file and do a header check

newsup --file <file> --headerCheck

  • upload a file and add comments in the upload subject

newsup --file <file> --comment "Uploaded with NewsUP" --comment "This is a test!"

  • upload a file file and use 10 connection

newsup --file <file> --connections=10

  • upload a file and use another file file as .NFO

newsup --file <file> --nfo </path/to/newsup.nfo>

  • Checking the status of a nzb and his contents

newsup --check <nzb_file>