1. Home
  2. Jobs
  3. Defining Paths for Your Data

Defining Paths for Your Data

PATHS ON THE SOURCE AND TARGET Three rules determine the ultimate path structure for your files on the target:

  • the top-most folders selected from your source will be tucked inside the folder you create or select on the target.  If the target folder selection is blank, the top level source folders will appear in the target root.
  • path structure above the source folder selected on the source is not carried over to the target. Example:
    • if you have a path ‘source_mainfolder1/subfolder2/’ on the source,
    • you select ‘subfolder2’ in the source file chooser, and
    • you select ‘target_folder’ for the destination folder on the target,
    • your file structure on the target will be:  ‘target_folder/subfolder2/.’  ‘source_mainfolder’ does not appear in the path because that part of the path structure is above what was selected in the source file chooser.
  • all path structure below or within the source selected folder is preserved on the target.  See  the table below for examples.

Defining Paths for Your Data: Examples

Below are some examples of paths on source and target, where the last object in the path is what is selected in the file chooser:

IF THE SOURCE SELECTION IS AND THE TARGET OBJECT SELECTION IS: THEN THE LOCATION ON THE TARGET SERVER WILL BE:
/source_foldername (i.e., a directory) <blank> a folder in the root called “source_foldername,” which will contain all of the files and folders contained in source_foldername, with the paths from the source intact
/source_foldername /target_foldername /target_foldername/source_foldername/ (and all files and folders within source_foldername will be transferred with their paths intact)
/source_foldername/file1, source_foldername/file2, /source_foldername/folder3 <blank> root of the target will contain the following elements:  file1, file2, folder3
/source_foldername/file1, source_foldername/file2, /source_foldername/folder3 /target_foldername target_foldername/, which will contain the following elements:  file1, file2, folder3
/source_foldername/folder1/folder2 /target_foldername target_foldername/folder2.
/source_foldername/folder1/folder2 /target_foldername/folder1 target_foldername/folder1/folder2.
Updated on May 2, 2019

Related Articles