thx, when i do ping ipaddress from windows commands prompt
i get the result fine..no problems at all
but when i do ping ipaddress from the shell then i get this
/sbin/ping: Permission denied.
and when i try to run the script from the shell using ./tst.sh
i get
ftp: connect: Operation timed out
Not connected.
Not connected.
Not connected.
Not connected.
Not connected.
Hi,
Even i have the same requirement........
ftp a file from UNIX to Windows machine.........
I tried the script given in this forum
i'm getting an error
ftp: connect: Connection refused
I'm trying to ftp file to my local windows machine...........
Also what shd i do if i have to ftp a file to remote windows mahcine??
Please help .thanks in adhavnce
To ftp from UNIX environment to your local machine you need a ftp server running on you PC to service the incoming requests. Once you have that then try this test.
Then try
ftp <IP address of your PC>
Enter username
Enter Password
See if you can successfully open an ftp session. Then you could create a shell script in UNIX to ftp files to your PC.
Even for all this to work you will need your machine switched on and your ftp service up and running at the time the crontab kicks off.