Copy Folder Operations in PRO Storage

This article provides for the source of four utility apps to operate on AIMMS PRO storage.

To access the apps, create an .aimmspack from these sources and publish them on your AIMMS PRO system.

The app sources are available for download in the sections below:

  1. Copy a PRO Storage folder to a Windows folder on laptop/desktop: 323-copy-files-from-server

  2. Copy files or folders to AIMMS PRO storage: 323-copy-files-to-server

Copy Files From Server

This is a WinUI app that copies a folder from AIMMS PRO Storage to a folder on your Windows laptop or desktop; it starts with the following screen:

../../_images/CopyFilesFromServer.png

You can use the following buttons to operate this app:

  1. Select Source Folder This dialog behind this button is similar to the Select Target Folder of the AlterAuthorization app.

  2. Select My Data Directly select the folder /Userdata/<env>/<username> to be used as source.

  3. Select Target Folder The dialog behind this button is a Windows dialog to select a folder.

  4. Get File Info This will scan the selected source folder and will fill the lower table with file overview information. You can use the p01_selection column to select/unselect files for copying.

  5. Copy selected files This will copy all selected files.

Copy Files To Server

This is a WinUI app that copies a folder from your Windows laptop or desktop to AIMMS PRO Storage. It starts with the following screen:

../../_images/CopyFilesToServer.png

You can use the following buttons to operate this app:

  1. Select source folder Behind this button is a Windows folder selection dialog.

  2. Select target folder Behind this button is a PRO Storage folder selection dialog, similar to the Select Target Folder button of AlterAuthorization.

  3. Select my data This will set the folder selected to the data folder of the user.

  4. Alter authorization Specify the authorization to be used for the files copied to AIMMS PRO Storage.

  5. Copy files Actually copy all the files and use the authorization selected.

  6. Copy a single file This will alter the selection of buttons, now you will need to select a single file instead of a folder.