Search found 25 matches

by patej
Mon Apr 03, 2017 2:08 pm
Forum: Scripting
Topic: New job from existing file
Replies: 1
Views: 15944

New job from existing file

Hi I am trying to get the total page count of all files in a zip file and without using external scripts only way I know of is to use job.getVariableAsNumber("[Stats.NumberOfPages]"), but that requires that the files are turned into jobs, doesn't it? I tried to implement that idea, but I c...
by patej
Tue Mar 04, 2014 3:02 pm
Forum: Flows
Topic: FTP Receive - errors with passive FTP
Replies: 4
Views: 4088

FTP Receive - errors with passive FTP

OK, thanks for the clarification. We're using Switch 11 update 4, so I'll get in touch with Enfocus Support then!



Thanks,

--patrik
by patej
Fri Feb 28, 2014 2:48 pm
Forum: Flows
Topic: FTP Receive - errors with passive FTP
Replies: 4
Views: 4088

FTP Receive - errors with passive FTP

Hi,

Yes it's FTP, not SFTP. I haven't been able to confirm from them, but they are running Apache 2.22 (ubuntu) on Amazon EC2 so I think it's vsftp. FTP banner shows only version number 1.9.2.4. Does that help?



--patrik
by patej
Thu Feb 27, 2014 11:40 pm
Forum: Flows
Topic: FTP Receive - errors with passive FTP
Replies: 4
Views: 4088

FTP Receive - errors with passive FTP

Hi, I'm struggling with some errors when using FTP Receive. We use it to retrieve some folders with files from our client's FTP site and we can access the site without problems with an FTP client. However, when I connect to it using the FTP Receive configurator (I use the configurator's Choose folde...
by patej
Fri Oct 18, 2013 10:48 am
Forum: Scripting
Topic: applescript doesn't understand the send to single message
Replies: 2
Views: 2084

applescript doesn't understand the send to single message

Thanks! I just wanted to spare you from the long strings I have the script to search and replace, which I have inline so I replaced them with "search_string" and "replacement_text". So everything works now, thanks!



--patrik
by patej
Thu Oct 17, 2013 11:41 pm
Forum: Scripting
Topic: applescript doesn't understand the send to single message
Replies: 2
Views: 2084

applescript doesn't understand the send to single message

Hi, I created a flow using Applescript to do a simple search and replace in an html file with TextWrangler. The search and replace works fine, but the script ends in error with the message: '"path-to-file.html" doesn't understand the send to single message'. Same error appears with alias a...
by patej
Mon Sep 23, 2013 4:08 pm
Forum: Flows
Topic: Modularity in flows: best practices
Replies: 0
Views: 3044

Modularity in flows: best practices

Hi, I'm looking into finding the best way to make our flows more modular to make developing easier. For example, I have several flows each of which use the same way to create low-res PDFs. I would like to move the elements involved with the low-res creation into a separate flow with input and output...
by patej
Tue Sep 03, 2013 11:42 am
Forum: Flows
Topic: Preflight report and original PDF into same e-mail without zipping?
Replies: 3
Views: 2152

Preflight report and original PDF into same e-mail without zipping?

Ah, a pity it doesn't work. Thanks for the explanation, though! Could this idea still be taken in as a feature request, e.g. as an extra option in mail element "send multiple attachments as individual files", or conversely, "send multiple attachments as a compressed file"? --patrik
by patej
Thu Aug 29, 2013 10:44 pm
Forum: Flows
Topic: Preflight report and original PDF into same e-mail without zipping?
Replies: 3
Views: 2152

Preflight report and original PDF into same e-mail without zipping?

Hi, I have a flow which should receive PDF files via e-mail, run a preflight (PitStop Server) and then return an e-mail with the checked PDF and a report PDF. I've now solved it by having an Assemble job, which zips the two files, before sending the mail, but I would like to have the two PDFs as sep...
by patej
Fri Mar 15, 2013 11:17 am
Forum: Flows
Topic: Different low-res files depending on file size - possible?
Replies: 9
Views: 5124

Different low-res files depending on file size - possible?

OK, thanks for the clarification! Now we at least now where the problem lies, a pity though that there does not seem to be a solid solution. I'll try playing around with it then, now that I know the cause for the problem. The flow has worked fine these two days as it is, so it's not a huge problem b...
by patej
Fri Mar 15, 2013 8:34 am
Forum: Flows
Topic: Different low-res files depending on file size - possible?
Replies: 9
Views: 5124

Different low-res files depending on file size - possible?

Hi, Sorry I explained myself a bit confusingly, yes, I tried with the path in the variable as well, but I also tried to have the "Job repository" in the Inject job so there I selected the path in the job repository part, so then the variable should need only the "[Job.JobState]",...
by patej
Thu Mar 14, 2013 10:14 pm
Forum: Flows
Topic: Different low-res files depending on file size - possible?
Replies: 9
Views: 5124

Different low-res files depending on file size - possible?

Hi Freddy, Thanks for your tips, I got it working, somewhat... Like you said, the Recycle bin was the problem because the files in the temp folder still had their unique ID's. So removing the bin and having the folder strip the id's solved it. However, I would need the Recycle bin there to keep the ...
by patej
Wed Mar 13, 2013 2:12 pm
Forum: Flows
Topic: Different low-res files depending on file size - possible?
Replies: 9
Views: 5124

Different low-res files depending on file size - possible?

Hi Freddy,

Thanks, the job state sounds good, I'll try that once I get a couple of things out of my hands first.



Yes, I realized the same thing with the Hold job before Recycle Bin and have it there already. :)



Thanks again for your fast replies and helpful tips,

--patrik
by patej
Wed Mar 13, 2013 9:37 am
Forum: Flows
Topic: Different low-res files depending on file size - possible?
Replies: 9
Views: 5124

Different low-res files depending on file size - possible?

Huge thanks, Freddy! So that's what inject job is useful for.. :) I changed the flow according to your suggestions but unfortunately it cannot inject the original HR from the temp folder. Switch only says that "Failed to inject job: file or folder'serverfoldertmp-folderbigfiletest.pdf' does not...
by patej
Tue Mar 12, 2013 12:52 pm
Forum: Flows
Topic: Different low-res files depending on file size - possible?
Replies: 9
Views: 5124

Different low-res files depending on file size - possible?

Hi, I would like to have a following flow: 1. high-res (HR) PDF comes in 2. if the HR PDF file size is under certain value (e.g. 500KB), move in straight into low-res (LR) output with possible renaming (this I have done) 3. if the HR is above the limit, then run a Pitstop action to make it a 100ppi ...