accessing a file on internet


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting accessing a file on internet
# 1  
Old 03-25-2008
accessing a file on internet

Hi,

I need to write a script to read a file on internet (say http://mysite.com/myfile.txt) and save it on the unix machine. can anyone please help me on this?

Please note that the file is available only on http site and there is no ftp site for it.

Thanks,
# 2  
Old 03-25-2008
Please don't post duplicate questions.

https://www.unix.com/shell-programmin...-internet.html
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Web Development

forbidden error when accessing file(s) on a unix filesystem

greetings, i was recently asked to install apache1.3.31 on an aix5.3 server so users could have access to their output files. these two directories are nfs filesystems served by a netapp filer mounted on the aix machine. i've made no changes to the apache config and it's running as it came out of... (0 Replies)
Discussion started by: crimso
0 Replies

2. Programming

problem with accessing online XML file

Hi everyone, I am trying to access an online XML file, for example: <a href="http://www.rgraph.net/sample.xml" target="_blank">http://www.rgraph.net/sample.xml using HTML. <html> <body> <script type="text/javascript"> if (window.XMLHttpRequest) {// code for IE7+, Firefox,... (1 Reply)
Discussion started by: Xperia124
1 Replies

3. Shell Programming and Scripting

Accessing a variable from another file

HI all, How can i access a variable that is defined in another file as: $$Name= "abhinav; in my script. The catch is that it has 2 $s behind it... Thnaks ---------- Post updated at 10:36 AM ---------- Previous update was at 10:29 AM ---------- the file from which i have to... (0 Replies)
Discussion started by: abhinav192
0 Replies

4. Programming

Accessing environmet variable in xml file

Hi I have certain environmenet variables defined in .profile: export DBNAME="mydb" export DBHOST="devbox.us.abc.com" export DBPORT="1111" export PASSWORD="mypwd" export MMUSER="myid" I also have an xml file defined like: <CONFIG> <DEFAULTS operator="oraread"> <PROPERTY... (2 Replies)
Discussion started by: neeto
2 Replies

5. Shell Programming and Scripting

Accessing Variables from .conf file

I can't figure out how to access variables that are stored in a separate file. Can someone let me in on the secret? Please, and thank you. -Kevin (7 Replies)
Discussion started by: wayne1411
7 Replies

6. Shell Programming and Scripting

Accessing input from another file

Hi, Let me make it clear, Im having two .lst files. In 1st file Im having only one column,while in 2nd im having 8 columns. I need to take the input from 1st file, I need to check the column1 in the first file with the 3rd colmn in the 2 nd file , and only the matching records should only... (2 Replies)
Discussion started by: krishnan_6015@y
2 Replies

7. UNIX for Dummies Questions & Answers

accessing shell script variable in file

Hi, I have a shell script in which there is a file conn_$temp where $temp has the pid of the shell script. in this shell script i have an embedded awk script that must read the file while ((getline < "conn_$temp") > 0) However due to the "$temp" in the file name, the awk script is... (6 Replies)
Discussion started by: HIMANI
6 Replies

8. UNIX for Dummies Questions & Answers

Accessing redirected file inside script

hi, Is there a way to access the redirected file inside the script. Here is what the command line looks like: $ shar * > archive_file.arc I know I can't access the name of archive_file.arc with positional parameters like $1, $2.. Is there any way to figure out what file the output of the... (3 Replies)
Discussion started by: milhan
3 Replies

9. Shell Programming and Scripting

accessing o an exact line in a file

I want to access exact line in a file (sh script) for example I have a variable input and I want to access input.th line in file. for example line 5 or 7. (2 Replies)
Discussion started by: walnut
2 Replies

10. UNIX for Dummies Questions & Answers

Accessing the internet through another system

I have a group of Solaris machines being logged in locally but accessing the internet through a dhcp connection. I am short 2 network drops and ports and need to get these machines accesssing the internet. I cannot add a hub or switch because of administrative reasons. Is there a way to connect... (3 Replies)
Discussion started by: meyersp
3 Replies
Login or Register to Ask a Question