Getting Packages

The servedat server may be configured to package files and directories into one or more archive formats using third party utilities.  To request packaging, append to the file name an equals sign followed by a comma separated list of the package suffixes you are willing to accept.  For example:

movedat foo.bar.com:/path/folder=tgz,zip .

This requests that the server package directory "/path/folder" using gzip'd tar, if that is available, or otherwise using Zip.  The resulting archive would be saved in your current directory and named "folder" with a suffix indicating which format was used.

The package file will initially be saved with a name ending in ".TMP".  Because packages are generated in real-time by the server, they cannot be resumed if interrupted and the progress bar will not display.  Once the download is complete, the package will be renamed with the appropriate suffix.

If you only specify one package choice, and the server supports it, you can pipe the downloading package directly into an unpacking utility.  For example:

movedat foo.bar.com:MyDirectory=tgz | tar -zxf -

Servers from ExpeDat 1.9 and higher (servedat component version 1.10 and higher) also support inline compression of individual files.  See the "Compression" section for details.  Note that you cannot combine inline compression with external packaging: you may only use one or the other.