You can create a script, which runs in Unidata/Unix, that simply ftp's into a directory and copies *everything* sitting there. And this can be done automatically without user intervention.
-----Original Message----- From: Israel, John R. <johnisr...@daytonsuperior.com> To: U2 Users List <u2-users@listserver.u2ug.org> Sent: Mon, Mar 4, 2013 1:36 pm Subject: Re: [U2] VOC Pointer Let me give a full picture. I have a program on our Unix box running UniData. This program processes a BUNCH of nightly stuff including the launching of our PDF invoices which are built on a Windows server (I have no control of that). When the job finishes, one of the things I need to do is verify that the PDFs were in fact created and then send them out to a 3rd party source to be printed, stuffed and mailed. I thought it would be easier to copy the PDFs back to a temp folder on the Unix box, tar them and send them to the 3rd party processing company. I understand that I could have a job on the Windows box do this part, but then I would need some mechanism to fire off the script on the WIndows box. Then, when the Windows script is done, it would need some way to fire off/release the continuation of the tasks on the Unix box. Timing is important here. It may seem clumsy to pull the PDFs back on the Unix box, but I was trying to keep all the control in one place and not try to chain things between difference boxes and hope I got my timings right. Fewer points of failure and no real timing issues. STOP LAUGHING AT ME! JRI -----Original Message----- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Rutherford, Marc Sent: Monday, March 04, 2013 4:24 PM To: U2 Users List Subject: Re: [U2] VOC Pointer So --- you want to a Unix process to drive a script (Remote Procedure Call) which would run on Windows; the RPC would gather the required files from elsewhere in the Windows world a copy them to the share folder? Marc Rutherford Principal Programmer Analyst Advanced Bionics LLC 661) 362 1754 -----Original Message----- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Israel, John R. Sent: Monday, March 04, 2013 1:12 PM To: U2 Users List Subject: Re: [U2] VOC Pointer I have done things from Window to UNIX with Samba before. As you say, we do it all the time. The issue I have is I need my Unix box to grab the data from Windows and copy it from Windows to Unix. The copy needs to be run from Unix, not Windows. THAT is the problem I am having. Mapping a network drive in Windows will be great from Windows, but will not solve the problem of issuing the command from Unix (unless I am completely missing the point). JRI -----Original Message----- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of John Thompson Sent: Monday, March 04, 2013 4:06 PM To: U2 Users List Subject: Re: [U2] VOC Pointer If copying from the windows server to the HP-UX machine... If you use the samba method... you would need: 1) Samba installed on HP-UX server running Unidata 2) Setup a share to share a directory on HP-UX 3) Map the network drive on the Windows Server 4) Just do a standard windows copy from one drive letter to the other That being said, my steps above are grossly "over-simplified" If you have never done a samba install on HP-UX and configuration before, this could take you several days/weeks. If its a one time deal, then the previous posters idea of ftp, is so much easier. Its been a number of years, since I put samba on HP-UX. If you can find a package that utilizes swinstall (sam) somewhere out on the web, it might make your life easier. On Mon, Mar 4, 2013 at 3:55 PM, Israel, John R. < johnisr...@daytonsuperior.com> wrote: > We have used Samba other ways, but I have never actually tried to copy > from Windows to Unix. > > What would the syntax be to copy? > > > Thanks > > > JRI > > > -----Original Message----- > From: u2-users-boun...@listserver.u2ug.org [mailto: > u2-users-boun...@listserver.u2ug.org] On Behalf Of Wols Lists > Sent: Monday, March 04, 2013 3:45 PM > To: u2-users@listserver.u2ug.org > Subject: Re: [U2] VOC Pointer > > On 04/03/13 20:36, Israel, John R. wrote: > > I need to copy PDFs from a Windows server into a UNIX dir (where > > UniData > lives). > > > > Can I map a VOC pointer? > > Can the unix machine see a windows share? You MAY be able to put a > network path in field 2 of a voc entry, but by default, if UD > recognises a network path it'll probably refuse to access it. > > And is copying PDFs (binary files) using the UD command line a good idea? > > > > Other thoughts? > > Put samba on the HPUX box, share your HPUX directory, and copy the > pdfs from Windows to nix. > > Or if you need to do it from the nix end, share your Windows directory > and use smbmount (probably part of samba, I'm not quite sure what's > happened to > it) to make the windows share look like a nix directory where you can > use nix commands to copy. > > > > Running HPUX, UniData 7.2.1. > > > > John > > > Cheers, > Wol > _______________________________________________ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > _______________________________________________ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > -- John Thompson _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users