Sponsored Content
Full Discussion: download di file di testo
Top Forums UNIX for Dummies Questions & Answers download di file di testo Post 302485105 by valei on Tuesday 4th of January 2011 09:57:57 AM
Old 01-04-2011
Question txt files download

Hi everybody,
I'm new on this forum and I hope to use it correctly.
My question is: I have to download from a bash script the text file at the following page:
opm.phar.umich.edu/subunits.php
How can I do it? The wget function downloads the html code, while I want to get the text file only. Does anybody can help me?
Thanks.
Valentina

Last edited by valei; 01-04-2011 at 11:06 AM..
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Using wget to download a file

Hello Everyone, I'm trying to use wget recursively to download a file. Only html files are being downloaded, instead of the target file. I'm trying this for the first time, here's what I've tried: wget -r -O jdk.bin... (4 Replies)
Discussion started by: thoughts
4 Replies

2. Shell Programming and Scripting

download a particular file using wget

Hi All I want to download srs8.3.0.1.standard.linux24_EM64T.tar.gz file from the following website : http://downloads.biowisdomsrs.com/srs83_dist/ But this website contains lots of zipped files I want to download the above file only discarding other zipped files. When I am trying the... (1 Reply)
Discussion started by: alphasahoo
1 Replies

3. UNIX and Linux Applications

download file using wget

I need to download the following srs8.3.0.1.standard.linux26_32.tar.gz file from the following website: http://downloads.biowisdomsrs.com/srs83_dist There are many gzip files along with the above one in the above site but I want to download the srs8.3.0.1.standard.linux26_32.tar.gz only from... (1 Reply)
Discussion started by: alphasahoo
1 Replies

4. Shell Programming and Scripting

Not able to download the file

Dear Experts, I m using the Solaris operating system and WebSphere as application server. I want to download xml file using following url http://XXX.XXX.XXX.XXX:9080/wasPerfTool/servlet/perfservlet?server=XYZ And the download file should saved into file. Can anyone... (3 Replies)
Discussion started by: naree
3 Replies

5. Ubuntu

Help with locating a file (to download)

debian_base_system.tar.bz2 is what I am looking for. Hello All; I am trying to learn Linux and have done some work, now I am installing Xen virtual machine But I need a .tar.bz2 file which is the base Operating System (for Ubuntu or Debian)* but I do not know where to download it from, the... (2 Replies)
Discussion started by: Matey
2 Replies

6. Shell Programming and Scripting

Download the file

Hi!! I have to download one file from FTP on a daily basis but the file name not constant. Filename “BRAA.DAILY1.20120326.3456” BRAA.DAILY1. - constant 20120326 - system date 3456 - random number which will get change every day. Few sample file names - ... (7 Replies)
Discussion started by: rahul198228
7 Replies

7. Shell Programming and Scripting

FTP File download

Hi, I have few files at FTP location and have written a script to download the same from ftp based on the sysdate - 1, however with the below code I am unable to download the files from FTP. x=`TZ=CST+24 date +%Y%m%d` mget Daily_BIH_$x_NEW.tar.gz can anyone please help me in... (10 Replies)
Discussion started by: rramkrishnas
10 Replies

8. Shell Programming and Scripting

Curl to download file from subdivx.com after following location without knowing the file name/extens

This question could be specific to the site subdivx.com In the past, I've been able to download a file following location using cURL but there is something about subdivx.com that's different and can't figure out how to get it to work. I tried the following directly in the terminal with no... (5 Replies)
Discussion started by: MoonD
5 Replies
PHAR.GETMETADATA(3)							 1						       PHAR.GETMETADATA(3)

Phar::getMetadata - Returns phar archive meta-data

SYNOPSIS
public mixed Phar::getMetadata (void ) DESCRIPTION
Retrieve archive meta-data. Meta-data can be any PHP variable that can be serialized. PARAMETERS
No parameters. RETURN VALUES
any PHP variable that can be serialized and is stored as meta-data for the Phar archive, or NULL if no meta-data is stored. EXAMPLES
Example #1 A Phar.getMetadata(3) example <?php // make sure it doesn't exist @unlink('brandnewphar.phar'); try { $p = new Phar(dirname(__FILE__) . '/brandnewphar.phar', 0, 'brandnewphar.phar'); $p['file.php'] = '<?php echo "hello";'; $p->setMetadata(array('bootstrap' => 'file.php')); var_dump($p->getMetadata()); } catch (Exception $e) { echo 'Could not modify phar:', $e; } ?> The above example will output: array(1) { ["bootstrap"]=> string(8) "file.php" } SEE ALSO
Phar.setMetadata(3), Phar.delMetadata(3), Phar.hasMetadata(3). PHP Documentation Group PHAR.GETMETADATA(3)
All times are GMT -4. The time now is 05:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy