====== Add Single File======
New to Synchronet v3.19, ''postfile.js'' can be used to add a single file to a Synchronet filebase.

If you wish to upload multiples files from the system command prompt, use ''[[addfiles]].js'' instead.

===== Invoke =====

Run with [[util:JSexec]].

If no arguments are provided, the directory, filename, description and uploader name will be prompted for.

Otherwise, specify the values on the command-line:
  usage: [dir-code] [file-name] [file-description] [uploader-name]
===== See Also =====
  * [[:module:|module index]]

{{tag>jsutil files}}
