However, since PUT has almost no error handling, it is suggested that you use a RUN map call instead. Set the RUN map's target to file and on error commit.
BocaBurger
<===========================||////////////////|0
The pen is mightier than the sword, but the sword hurts more!
Remember to take out the -T+ for production.
The -MKD might not be needed.
Good rule for calling a general blob to blob map. Allows any map to have an common FTP information input tree so each FTP needed does not have to be redeveloped. Janhes should get a raise.
BocaBurger
<===========================||////////////////|0
The pen is mightier than the sword, but the sword hurts more!
If one were to just do a plain FTP, no tracing, audit etc., wouldn't the FTP adapater on the command line be better than sinking with map rules? Faster?
PUT is the problem. If you have fixed FTP parameters, use the card tartget, if you have variables, use the RUN command and card over-rides. Only use PUT when nothing else would work. PUT has limited error handling and things can fail but not show an error.
BocaBurger
<===========================||////////////////|0
The pen is mightier than the sword, but the sword hurts more!
I see. The only variables I have are retries. Both can be set either on the IFD card level or the run command overides, so which uses more resources? I'm asking because I have to send about 3,000 files to a TP with a shady server and want to minimize resources.
RUN map takes a bit more resources, so a card target would do it, unless you are creating the data in a functional map. Then the RUN call would be from the Functional map. This can create problems if you are send ing all 3000 at one time, since the map does not actually send anything until the map completes and we issues the commit.
Better way in this case would be to use a PUT(FILE) with a unique name and trigger from the file to map that does the FTP.
BocaBurger
<===========================||////////////////|0
The pen is mightier than the sword, but the sword hurts more!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.