movedat Sending Files

To send a file to a remote computer, specify the local file path first, then the remote server and path second.  For example, to send file1 to foo.bar.com and name it file2 on the server, type:

movedat file1 foo.bar.com:file2

To save a file into a directory using the same base name, specify the directory as the remote destination and follow it by a forward slash '/'.  For example:

movedat file1 foo.bar.com:directory/

When the remote destination is a directory, you can send multiple files in a single command:

movedat file1 file2 file3 foo.bar.com:directory/

You can also send multiple files using wild-card characters.

The server always uses forward slash '/' as its path delimter.  But on Windows machines, local pathnames will use the backslash '\' character.  So sending a file using the Windows version of movedat could look like this:

movedat C:\mydir\myfile foo.bar.com:dirname/subdirname

The windows version of movedat also treats a single character followed by a colon as a local target, rather than a server with a single character name.

Once a file has been successfully uploaded, the server will attempt to set the modification date, access rights, ownership, and group id of the uploaded file to match those of the local file.  Whether or not this is successful will depend on the server version, operating systems, and your login access rights.