Page 1 of 1
submitting files with connector
Posted: Mon Jan 09, 2012 11:10 pm
by DotGain
hi ,
I would like to know if it is possible to identify the pitstop connector
which is submitting a file to switch through a ftp connection
and depending on the sender (connector)
forward/upload the job to the correspondent customer ftp.
any ideas?
thanks
DotGain
submitting files with connector
Posted: Tue Jan 10, 2012 9:42 am
by Clive Andrews
Did you actually mean Pitstop..?
Or a Switch Connector - or even iDropper.
If it's the latter you should be attaching some sort of job ticket/xml, which will have the data you can parse out. Then you can use that in Switch to build your output hierarchy...
submitting files with connector
Posted: Tue Jan 10, 2012 1:14 pm
by bert_vr
DotGain,
Is there a specific reason why you are using FTP instead of the direct SOAP connection from PitStop Connect to Switch?
cheers,
Bert
submitting files with connector
Posted: Tue Jan 10, 2012 11:16 pm
by DotGain
Hello Bert,
thanks for your reply.
well, to be honest I am very new to switch (just starting)
I would like to give connectors to my customers and configure them
so that they will direct their jobs to my ftp sever ... do what ever I would like to do with them
and then upload them to a customers ftp.
I am not familiar with the soap protocol but as far as I understand it is used to control/call
activities in other applications , either in the same network or over the net.
because I don't own pitstop server yet I would like to use the connectors
to preflight the jobs and at the same time to upload (when files are ok) to my server.
I am still not sure that I understand 100% correctly the use of soap but I am looking for a way
to identify where the files are coming from (who is the sender / maybe connector id) and in dependence from it be able to decide in the flow where the jobs should be uploaded to (ftp sender).
thanks in advance
DotGain
submitting files with connector
Posted: Wed Jan 11, 2012 9:04 am
by bert_vr
DotGain,
There are several reasons why I asked, because linking PitStop Connectors with Switch gives you more option in order to identify from which Connector the file is coming from.
But I should also have asked which flavor of Switch you have at your disposal.
So I'll give me two cents on both FTP as direct (SOAP) connection to Switch.
FTP:
There is no possibility to rename your file or identify which connector has uploaded what file to an FTP Server with Switch.
Depending on the number of customer using the Connector you could add a specific Action List that will write customer info into the metadata of the PDF file while preflighting (you can do this with the 'change metadata info' action, but you'll need a PitStop Pro for that.
Switch could then strace the metadata (e.g. keywords field) using conditions with variable to learn which customer has uploaded the file.
Downside: you need to create a connector and Action List per customer.
Direct link to Switch (only PowerSwitch will give you the necessary feature set to accomplish this):
then you could create a generic PitStop Connector that links to your Switch flow via a submit point. In the connector you would ask the user to enter username and password. In the submit point you would add a metadata field that will store the 'user' info, using a text with variable (the 'user' can be found either in the connection or job group). You can hide this metadata field for customer so that it will not be shown in the PitStop Connector. After picking up the jobs in Switch, you can later on route on the user info in order to find out which customer submitted the job.
Downside: you will need to create as many users in Switch as you have customers.
cheers,
Bert
submitting files with connector
Posted: Wed Jan 11, 2012 8:59 pm
by DotGain
Hi Bert ,
fantastic reply , very useful !!
I was planning anyway to submit the files to subfolders in a ftp
and the dedicate folder per customer ,
at the same time maybe it is possible to add immediately after the
incoming folder (customer folder) and inject some kind of relevant info
like mail or ftp upload adress. is that also possible in power switch ?
thanks again for your effort
Dot Gain