Isn't ncftp a product by a for-profit company? If so, then some cash
might have to be spent before that solution could be licensed and then
used. Is the Windows server set up as a mount on your unix server,
Ashutosh? If so, then there are several possible solutions.

On Jan 29, 11:29 am, Yohan <[email protected]> wrote:
> Hi
>
> use ncftpput which was in /usr/bin/ folder in unix
> its FTP command
>
> Usages:
>   ncftpput [flags] remote-host remote-dir local-files...   (mode 1)
>   ncftpput -f login.cfg [flags] remote-dir local-files...  (mode 2)
>   ncftpput -c remote-host remote-path-name < stdin  (mode 3)
>
> Flags:
>   -u XX  Use username XX instead of anonymous.
>   -p XX  Use password XX with the username.
>   -P XX  Use port number XX instead of the default FTP service port (21).
>   -j XX  Use account XX with the account (deprecated).
>   -d XX  Use the file XX for debug logging.
>   -e XX  Use the file XX for error logging.
>   -U XX  Use value XX for the umask.
>   -t XX  Timeout after XX seconds.
>   -a     Use ASCII transfer type instead of binary.
>   -m     Attempt to mkdir the dstdir before copying.
>   -v/-V  Do (do not) use progress meters.
>   -f XX  Read the file XX for host, user, and password information.
>   -c     Use stdin as input file to write on remote host.
>   -A     Append to remote files instead of overwriting them.
>   -z/-Z  Do (do not) try to resume uploads (default: -Z).
>   -T XX  Upload into temporary files prefixed by XX.
>   -S XX  Upload into temporary files suffixed by XX.
>   -DD    Delete local file after successfully uploading it.
>   -b     Run in background (submit job to "ncftpbatch" and run).
>   -bb    Same as "-b" but queue only (do not run "ncftpbatch").
>   -E     Use regular (PORT) data connections.
>   -F     Use passive (PASV) data connections (default).
>   -y     Try using "SITE UTIME" to preserve timestamps on remote host.
>   -B XX  Try setting the SO_SNDBUF size to XX.
>   -r XX  Redial XX times until connected.
>   -W XX  Send raw FTP command XX after logging in.
>   -X XX  Send raw FTP command XX after each file transferred.
>   -Y XX  Send raw FTP command XX before logging out.
>   -R     Recursive mode; copy whole directory trees.
>
> Examples:
>   ncftpput -u gleason -p my.password Elwood.probe.net /home/gleason stuff.txt
>   ncftpput -u gleason Elwood.probe.net /home/gleason a.txt (prompt for pass)
>   ncftpput -a -u gleason -p my.password -m -U 007 Bozo.probe.net
> /tmp/tmpdir a.txt
>   tar cvf - /home | ncftpput -u operator -c Server.probe.net 
> /backups/monday.tar
>
> On 1/29/09, Rajan <[email protected]> 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.
>
> > Or if there is any Alternate way of doing this.
>
> > Regards
> > Ashutosh
>
> --
> Best Regards
> Yohan Madusanka

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