Hi,

Thanks for your advice,
Sorry If I was not clear.
What I need is "how to call a shell program from Jbase Program"
When the control program in my Project will execute all the programs. I want
to call a UNIX shell program to execute SCP.

Please provide some insight.

Regards
Ashutosh Srivastava

On Thu, Jan 29, 2009 at 6:58 PM, Jim Idle <[email protected]> wrote:

>
> Rajan wrote:
> > Hi,
> >
> > I want to transfer files automatically from a UNIX folder to a Windows
> > folder. Is there a way in Jbase programming or a function which I can
> > use to call a Unix Shell program which can do this.
> >
> The easiest thing to do is install Samba on your UNIX system and use
> things like smbclient, smbget and so on. I could help more if you had
> read the posting guidelines and included what versions of the operating
> system you are using. Most UNIX systems have a pre-built installation of
> samba. However you could use samba server and just make the directory
> available as a Windows share (Windows servers will autosync and so on if
> you need them to).
>
> When you configure and install samba though, be careful what default
> shares it makes available to windows. You probably want to turn off all
> shares and then specifically add the share in question and make sure the
> permissions are correct.
>
> You don't say if you want to push from UNIX or pull from Windows, but
> you can use any mechanism available at the shell of either system. Just
> read the documentation for the EXECUTE command.
> > Or if there is any Alternate way of doing this.
> >
> Yes :-)
>
> Jim
>
>
> >
>


-- 
Ashutosh Srivastava
Sr. System Analyst - Stanbic Africa IT
Email : [email protected]
Cell : +27 74 145 7472 | Office: +27 11 636 4154

--~--~---------~--~----~------------~-------~--~----~
Please read the posting guidelines at: 
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to 
Globus/T24

To post, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to