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


--~--~---------~--~----~------------~-------~--~----~
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