Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Download the files from website and put in to unix server through the shell script 1

Status
Not open for further replies.

nynin9

Programmer
Jul 9, 2015
3
AU
Hi
I need to download the files from the website and put in to the UNIX server, Can you please suggest.

The website look like this

Thanks in Advance
Ratna Kumar
 
Download wget, a simple tool for retriveving files using HTTP. You just need to specify the path, for example wget To create a shell script, create a text file that begins with the shell that will be used, e.g. #!/bin/bash for the Bash shell. Then make the script executable by running the chmod +x FILENAME command.
 
I would use Winscp that is if you can ssh to the system.
 
If you have putty installed on a PC you can use "pscp" Windows CLI

pscp filename user@192.168.101.201:/var/home/ftp/pub
pscp user@192.168.101.201:/var/home/ftp/pub/filename c:\Users\Joe\Downloads

Cygwin loaded on a PC allows using "scp"
scp filename user@192.168.101.201:/var/home/ftp/pub
scp user@192.168.101.201:/var/home/ftp/pub/filename /cygdrive/c/Users/Joe/Downloads

scp can also be used from Linux to Linux or Solaris/Unix systems
scp filename user@192.168.101.201:/var/home/ftp/pub /var/home/defty
scp user@192.168.101.201:/var/home/ftp/pub/filename /var/home/defty


A great teacher, does not provide answers, but methods to teach others "How and where to find the answers"

bsh

40 years Bell, AT&T, Lucent, Avaya
Tier 3 for 30 years and counting
[URL unfurl="true"]http://bshtele.com[/url]
 
I don't understand the question.

Download the files from website and put in to unix server through the shell script

is close to nonsense in English. (that is not an insult it is what it is)

So, do you you want to transfer files from a website server to a different server using SSH commands?

If so;

Before anyone can give a definitive answer rather than guessing, the following needs to be known.

Where is the shell script going to be run?
On the website server?
On the Unix server?
Or on a third machine?

Is the website server Windows, Unix, Linux or something else?

If there is a third machine that is involved, what is the operating system that?


Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top