Is this possible somehow? Or should i look into writing a script for this?
1. A custom script moves files into the submit hierachy folder(ai + xml) xml also has the path to the original location of the file.
2. xml is picked up
3. Switch processes the files.
4. The processed files are moved to the original file path, which is in metadata.
I tried using set hierarchy path + archive hierarchy, but it replaces the backslashes with ; and the files go into the main folder of the disk (S: for example, although my address is S:\Customer\order\Test)
Can't use indexes, because sometimes the filepath is longer than 5 path segments and may be located on different hard disks.
Send processed files to path in metadata
-
- Member
- Posts: 122
- Joined: Fri Jun 12, 2020 11:23 am
Re: Send processed files to path in metadata
Have you tried to escape the backslashes i.e. S:\\Customer\\order\\Test
-
- Member
- Posts: 122
- Joined: Fri Jun 12, 2020 11:23 am
Re: Send processed files to path in metadata
Don't you have it in your script?
If you have it the Dataset from the XML you have you specify it as \\MYSERVER\Folder\Order\jobfile
If you have it the Dataset from the XML you have you specify it as \\MYSERVER\Folder\Order\jobfile
-
- Member
- Posts: 122
- Joined: Fri Jun 12, 2020 11:23 am
Re: Send processed files to path in metadata
Sorry i misunderstood. I Have no script yet, i was hoping this can be done without a script. But i guess i'll have to try with a script then.
Re: Send processed files to path in metadata
I can be done without a script, but you can't use S:\\Customer\\order\\Test if it is a mounted volume to the Switch server.
You have to use \\MYSERVER\Customer\order\Test as the path in the Archive Hierarchy
You have to use \\MYSERVER\Customer\order\Test as the path in the Archive Hierarchy
-
- Member
- Posts: 122
- Joined: Fri Jun 12, 2020 11:23 am
Re: Send processed files to path in metadata
Files are not on the same volume as the switch installation. They are located on 2 different hard drives on the server.
-
- Member
- Posts: 122
- Joined: Fri Jun 12, 2020 11:23 am
Re: Send processed files to path in metadata
The process would look something like thisPdFUser5000 wrote: ↑Mon Feb 08, 2021 3:31 pmFiles are not on the same volume as the switch installation. They are located on 2 different hard drives on the server.
1. Files arrive in a Switch hotfolder via an illustrator script. The original path of the ai file is in the metadata.
2. Switch processes the files.
3. All output files (ai + newly generated) move to the location in the metadata. Some need a separate folder too.
tried to do something in node, but did not work. Node was not able to move the files.