Mfcopy is a simple tool for copying files and folder structures between Mediaflow and your local computer. The tool can be used both to upload folders and files to Mediaflow (upload) and to download folders and files from Mediaflow to the local computer (download). This is a command line tool (Command line) for the slightly more advanced user. The program has no physical user interface, ie no program window to use with mouse and keyboard. The tool is intended to be used both for one-time runs (when entering a username and entering a password), or for scheduling on a server (then with specified account information or a token). The tool is not made for copying individual files but is intended for uploading and downloading entire directories and directory structures. This is not a tool for importing and exporting metadata.
Download the tool:
Windows (64-bitars): mfcopy_x64.zip (3,75 MB)
Mac (64-bitars Intel): mfcopy.zip (3,88 MB)
Linux (64-bitars): mfcopy.gz (3,45 MB)
How to use mfcopy
The program has two different modes, upload and download.
Uploading files
To upload a local directory to your Mediaflow account, first specify which local folder you want to upload and then which folder in Mediaflow you want to upload to. The path in Mediaflow is delimited by a slash (/). For example, to upload to the Movies folder below, type/Movie folder/Movies (note the first slash)
To upload the local folder C: \ Pictures \ My Movies to that folder, type
mfcopy upload -u john "C:\Bilder\Mina Filmer" "/Filmmapp/Filmer"
If you also want to include all subfolders add -r
mfcopy upload -u john -r "C:\Bilder\Mina Filmer" "/Filmmapp/Filmer"
If you want to include all files from all subfolders on your computer, but that all should end up in the same folder in Mediaflow you also add -ignore-folders
mfcopy upload -u john -r -ignore-folders "C:\Bilder\Mina Filmer" "/Filmmapp/Filmer"
By default, no existing files are overwritten, so if a file already exists in that folder with the same file name, your local file will not be uploaded. If you want the file to be uploaded anyway add -overwrite
mfcopy upload -u john -overwrite "C:\Bilder\Mina Filmer" "/Filmmapp/Filmer"
Note, however, that the old file remains as a version of the new file being uploaded.
If you only want to create a folder structure, ie do not upload any files but only create the folders, add -ignore-files
mfcopy upload -u john -r -ignore-files "C:\Bilder\Mina Filmer" "/Filmmapp/Filmer"
If the program is to be run on scheduling or via script, you can enter both username and password directly by typing -p password
mfcopy upload -u john -p supersecret -r "C:\Bilder\Mina Filmer" "/Filmmapp/Filmer"
Another option to avoid typing a password in plain text is to contact us for a token that can be entered with -t token
Downloading files
To download a directory from your Mediaflow account, first specify which folder in Mediaflow you want to download from and then which local folder on your computer you want the files to be loaded into. To download from the folder / Movie folder / Movies to the local folder C: \ Pictures \ My Movies, type
mfcopy download -u john "/Filmmapp/Filmer" "C:\Bilder\Mina Filmer"
If you also want to include all subfolders to that folder, add -r
mfcopy download -u john -r "/Filmmapp/Filmer" "C:\Bilder\Mina Filmer"
If you want to include all files from all subfolders, but that files should end up in the same folder on your computer, you can also add -ignore-folders
mfcopy download -u john -r -ignore-folders "/Filmmapp/Filmer" "C:\Bilder\Mina Filmer"
By default, no files are overwritten on your computer, so if a file already exists in that folder with the same file name, that file will not be downloaded from Mediaflow. If you want the file to be overwritten, add -overwrite
mfcopy download -u john -overwrite "/Filmmapp/Filmer" "C:\Bilder\Mina Filmer"
If you instead want to keep the old file, but also download the new one, enter -rename instead. Then the downloaded file is renamed so that bild.jpg becomes bild_1.jpg
mfcopy download -u john -rename "/Filmmapp/Filmer" "C:\Bilder\Mina Filmer"
If you only want to create a local copy of the folder structure, ie do not download any files but only create the folders add -ignore-files
mfcopy download -u john -r -ignore-files "/Filmmapp/Filmer" "C:\Bilder\Mina Filmer"
If the program is to be run on scheduling or via script, you can enter both username and password directly by typing -p password
mfcopy download -u john -p supersecret -r "/Filmmapp/Filmer" "C:\Bilder\Mina Filmer"
Another option to avoid typing a password in plain text is to contact us for a token that can be entered with -t token