1832990 Members
2799 Online
110048 Solutions
New Discussion

Re: Send files

 
SOLVED
Go to solution
juno2
Super Advisor

Send files

I would like to set a schedule ( on Unix or PC side ), to send some files from Unix to PC , execpt ftp what command that can do that? can "rcp" send file from unix to pc ? thx.
8 REPLIES 8
T G Manikandan
Honored Contributor
Solution

Re: Send files

I have transfered files from PC to unix using rpc using the following format




C:\rcp sqlnet.log abc.fori5zut:sqlnet.log

Here
sqlnet.log file is the file on the PC.
abc-->unix hostname
fori5zut--->username
sqlnet.log1-->destination file name

Before you do that make sure you have proper entries in the .rhosts file of the user

Thanks
Balaji N
Honored Contributor

Re: Send files

hi,

it is possible. i earlier had a NT PC running a ftp server and i had to ftp server and i had scheduled a cron job to do this.

also, you can use the windows scheduler to schedule a script which will pull files from the unix box.

hth
-balaji
Its Always Important To Know, What People Think Of You. Then, Of Course, You Surprise Them By Giving More.
T G Manikandan
Honored Contributor
juno2
Super Advisor

Re: Send files

hi T G Manikandan ,

how about transfer file from unix to pc ? thx.

hi Balaji N ,
if use windows scheduler, what transfer should be use ? rcp ? thx.
malay boy
Trusted Contributor

Re: Send files

Hi,
I guest there are a lot of method you can use to ftp the file from PC to unix or vice versa.Last time we use a software called SAMBA to mapped the Unix Disk to PC.The unix disk will appear something like folder in the PC.

http://www.samba.org/

But the problem is you need to installed/configure the software in Unix and PC.

Good Luck

mB
There are three person in my team-Me ,myself and I.
T G Manikandan
Honored Contributor

Re: Send files

The doc in the above response gives the details of rcp from UNIX to NT
Frank Slootweg
Honored Contributor

Re: Send files

> if use windows scheduler, what transfer should be use ? rcp ?

Yes. You can also use ftp, but rcp is easier because it is command-line oriented and hence can be more easily used in a script.
Steven E. Protter
Exalted Contributor

Re: Send files

I recommend scp

From Secure shell

Here is a link to the free software.

Secure Shell: a replacement for rcp ftp and telnet that encrypts passwords

http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=T1471AA


Attached are instructions on exchanging public keys so passwords will not be required for the file transfer.

Then you just set it up in cron on Unix boxes, and scheduled tasks on Windows.
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com