This command-line file transfer client can be used to browse, exchange, and manipulate files on a servedat server. Its basic syntax is similar to the secure copy program, "scp":
movedat [user[:password]@]host[+port][=action]:<source> [<destination>]
movedat <source> [user[:password]@]host[+port][=action]:<destination>
The "host" may specify an individual server or a host group.
The command line client can also be used to browse folders, rename files, delete files, and create directories. Unlike the graphical client, movedat is also capable of wild-card matching, piping data via stdio, displaying contents to stdout, and running server-side Object Handlers.
The movedat client includes many features to support embedding in scripts and other applications. DEI Tech Note 0015 explains how you can use the features below to tightly integrate movedat as the transport component of automation and front-end solutions.
Syntax for Reserved Characters in Pathnames
Pathnames which include spaces must be quoted according to the rules of the command shell.
Local absolute paths (arguments starting with a volume specifier or "\" for Windows and "/" for all other systems) may include any characters allowed by the operating system and command shell.
The at sign '@' denotes separation of a username and hostname. To specify a local relative path containing an at sign, prefix the path with ".\" for Windows or "./" for all other systems. To specify a remote path containing an at sign without specifying a username, prefix the host name with an at sign.
The equals sign '=' denotes an object handler action code. Legacy syntax allows this to appear after the remote pathname. To specify a remote path containing an equals sign, place an equal sign just before the colon, creating a "blank" action code.
Following is an example Send in which both the local and remote paths contain spaces, equal signs, and at signs:
movedat "./this = my speci@l file" "@example.com+8081=:my = speci@l file"
Windows and Unicode
All text generated by movedat itself, including prompts, error messages, and folder listings, uses UTF-8 character encoding. When running movedat in a Windows console, non-ASCII characters may not display correctly unless you take the following steps:
- Set the console code page to UTF-8 by typing: chcp 65001
- Set the console font to a true-type font such as Lucida Console
See the Unicode section for more information about unicode character encoding.