Results 1 to 5 of 5
Hi,
I want to tranfer or copy a file from one Linux server
to another Linux server using a shell script.
Can anyone help?...
- 06-24-2007 #1Just Joined!
- Join Date
- Jun 2007
- Posts
- 3
shell script for ftp
Hi,
I want to tranfer or copy a file from one Linux server
to another Linux server using a shell script.
Can anyone help?
- 06-24-2007 #2
A quick google of bash scripting and a look at the sftp man page should give you a good head start.
unless there are complications im unaware of, its as simple as writing the sftp commands you want automated into a bash script.Living the digital dream....
Disclaimer: I may be wrong since I was once before.
Breathe out so I can breathe you in ~~Everlong
- 06-25-2007 #3Linux Newbie
- Join Date
- Feb 2007
- Location
- hyderabad, india
- Posts
- 247
ok its fine.
but sftp is asking password and IP address..
with out these can we transfer file trough internet...?
is there any possible way?
i tried with socket programming...
but it fails at other end(other machine)
coz..
i am using "rcp -p " command to copy of my file in other system.. using "sip" programming ..please make my correct..
thank you in advance."Relationships are built on trust and communication"
- 06-25-2007 #4Linux User
- Join Date
- Aug 2006
- Posts
- 458
that's most probably because you have not set them up using keys.
For examples of using automated ftp, check out this page
- 06-25-2007 #5Linux Newbie
- Join Date
- Feb 2007
- Location
- hyderabad, india
- Posts
- 247


Reply With Quote
