Search found 601 matches

by jan_suhr
Tue May 07, 2024 11:23 pm
Forum: Flows
Topic: Compose XML for HTTP POST using file in hot folder
Replies: 29
Views: 309

Re: Compose XML for HTTP POST using file in hot folder

The unique id prefix is necessary for Switch to know where all copies of the same file are in the flow.

It's how it works!
by jan_suhr
Tue May 07, 2024 7:02 pm
Forum: Flows
Topic: Compose XML for HTTP POST using file in hot folder
Replies: 29
Views: 309

Re: Compose XML for HTTP POST using file in hot folder

1. That is what we want. 2. You are not going to use job.getPath since it will give you the path to the file that enters your script. The file we put in the folder, point 1 above, is now forgotten by Switch. Since this location is static you have to write that path in the script and then use the var...
by jan_suhr
Tue May 07, 2024 5:39 pm
Forum: Flows
Topic: Compose XML for HTTP POST using file in hot folder
Replies: 29
Views: 309

Re: Compose XML for HTTP POST using file in hot folder

Well this was an example on how to get you a file to use in what ever thing you want where you need to pick up a file from disc to use.

You can replace HTTP request with your script and write it to pick up the file from the folder I specified with a path location.
by jan_suhr
Tue May 07, 2024 4:15 pm
Forum: Flows
Topic: Compose XML for HTTP POST using file in hot folder
Replies: 29
Views: 309

Re: Compose XML for HTTP POST using file in hot folder

Snag_965ea3e.png
Snag_965ea3e.png (6.5 KiB) Viewed 76 times
Snag_96731e1.png
Snag_96731e1.png (9.32 KiB) Viewed 75 times
Something like this
by jan_suhr
Tue May 07, 2024 4:02 pm
Forum: Flows
Topic: Compose XML for HTTP POST using file in hot folder
Replies: 29
Views: 309

Re: Compose XML for HTTP POST using file in hot folder

The idea we try to get you to understand is that this folder should not have an outgoing connection. Then the file stored in that folder will be without the prefix. For your script to be able to pickup the file you will set the folder to a path where your script can get the file. In the property of ...
by jan_suhr
Tue May 07, 2024 8:05 am
Forum: Flows
Topic: Compose XML for HTTP POST using file in hot folder
Replies: 29
Views: 309

Re: Compose XML for HTTP POST using file in hot folder

The copy is sent to a folder that ends there on the disc. No connections out of the folder. Then Switch think it is done with that job and leave it with its original filename, no prefix.

Now you can use it with your script. The resto of the flow continue with its tasks.
by jan_suhr
Mon May 06, 2024 11:12 pm
Forum: Flows
Topic: Compose XML for HTTP POST using file in hot folder
Replies: 29
Views: 309

Re: Compose XML for HTTP POST using file in hot folder

But you can send a copy of the file to one folder at the end of the connection and another copy to do the rest the flow.
by jan_suhr
Mon May 06, 2024 9:09 pm
Forum: Flows
Topic: Compose XML for HTTP POST using file in hot folder
Replies: 29
Views: 309

Re: Compose XML for HTTP POST using file in hot folder

Can't you send the file to a folder on disc at the end of a connection, then the prefix is gone. Then you will have the correct path.
by jan_suhr
Thu May 02, 2024 5:17 pm
Forum: Imposition
Topic: imposition
Replies: 7
Views: 252

Re: imposition

You can also use pdfToolbox which have a very good imposition engine.

If you use the PitStop server crossgrade you pay about the same as for Quite Imposing but you get ten times more of functionality.
You can then also use my Imposition App that is intended for the kind of work you want to do.
by jan_suhr
Wed Apr 17, 2024 12:19 pm
Forum: Flows
Topic: Any ideas?
Replies: 3
Views: 279

Re: Any ideas?

Check the time on the Switch server.

Either the FTP or the Switch runs on GMT.
by jan_suhr
Fri Apr 12, 2024 5:43 pm
Forum: Applications
Topic: Photoshop App
Replies: 4
Views: 744

Re: Photoshop App

by jan_suhr
Fri Apr 12, 2024 4:39 pm
Forum: Applications
Topic: Photoshop App
Replies: 4
Views: 744

Re: Photoshop App

You can in the Photoshop app run Photoshop scripts. That script can pickup variables from Switch and in your case those variables can come from the JSON file if you have the Metadata module
by jan_suhr
Fri Apr 12, 2024 9:10 am
Forum: Flows
Topic: Better way of identifying job groups?
Replies: 2
Views: 378

Re: Better way of identifying job groups?

To catch error, or other, messages from specific points in a flow you can use the app Get Switch log messages. With that one you can specify one element in a flow and filter out its messages and it will create a Private Data with the message generated in Switch. https://www.enfocus.com/en/appstore/p...
by jan_suhr
Mon Apr 08, 2024 7:17 pm
Forum: Flows
Topic: Inserting metadata into jobs
Replies: 5
Views: 406

Re: Inserting metadata into jobs

You can build forms with PHP and then from that PHP send a webhook with the info to Switch. So the Form in PHP can be very flexible and from the form you create an XML that you send to a webhook in Switch. I have built several like that. if there is file upload involved it is easier to handle that i...