Search found 604 matches

by jan_suhr
Wed May 08, 2024 8:52 pm
Forum: Flows
Topic: Compose XML for HTTP POST using file in hot folder
Replies: 43
Views: 440

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

If it is the XML you posted recently you are using it is not valid.

It is missing a > before <RuleSetPath>

There is also at the end a > missing.
by jan_suhr
Wed May 08, 2024 8:35 pm
Forum: Flows
Topic: Compose XML for HTTP POST using file in hot folder
Replies: 43
Views: 440

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

You get an response from the server you call with the HTTP Request and it says Error 500 which is an Internal Server Error.

The stuff you send to the server is apparently wrong.
by jan_suhr
Wed May 08, 2024 5:23 pm
Forum: Flows
Topic: Compose XML for HTTP POST using file in hot folder
Replies: 43
Views: 440

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

I'm not sure why you selected "Input Job" for the Post Body since it should be custom for me to structure the the Remote trigger XML to post. Well we try to show you examples on how you can do it, we can't know exactly how you think with your code. The examples we show will of course need...
by jan_suhr
Tue May 07, 2024 11:23 pm
Forum: Flows
Topic: Compose XML for HTTP POST using file in hot folder
Replies: 43
Views: 440

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: 43
Views: 440

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: 43
Views: 440

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: 43
Views: 440

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

Snag_965ea3e.png
Snag_965ea3e.png (6.5 KiB) Viewed 113 times
Snag_96731e1.png
Snag_96731e1.png (9.32 KiB) Viewed 112 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: 43
Views: 440

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: 43
Views: 440

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: 43
Views: 440

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: 43
Views: 440

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: 270

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: 4
Views: 310

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: 750

Re: Photoshop App

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

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