Hi ,
I need some help to finish my ftp script and i need to find the last one weeks of fles updated in the sepecific directory and see those end with Z and ftp them to my backup server. Any help is appreciated.
Thanks,
Ravi :) (1 Reply)
Hi ,
I need some help to finish my ftp script and i need to find the last one weeks of fles updated in the sepecific directory and see those end with Z and ftp them to my backup server. Any help is appreciated.
Thanks,
Ravi :) (1 Reply)
Hi ,
I need some help to finish my ftp script and i need to find the last one weeks of fles updated in the sepecific directory and see those end with Z and ftp them to my backup server. Any help is appreciated.
Thanks,
Ravi :) (1 Reply)
Hi:
I am a trying to write a script using a loop i guess. What I need to do is write a script that can allow my users to load a tape and copy a range of files from a tape to the hard disk. By range I mean, I would like the users to pick a range of numbers like files 3 - 8 and the script will... (0 Replies)
Hi people,
i need you help on this if you can.
I have a script that does the move command when it searches for a that doesn't match the pattern. This Pattern is on a list.
When it run's and doesn´t found no files but it haves 2 more folders it moves the folders too.
Ex:... (1 Reply)
hi all,
here is the description to my problem.
input parameters: $date1 & $date2
based on the range i need to select the archived files from the archived directory and moved them in to working directory.
can u please help me in writing the code to select the multiple files based on the... (3 Replies)
Hi all,
We have 102 flat files created by Informatica from 102 tables. These 102 files contain pharmcy details.
There are a total of 450 pharmcyids.The naming convention for the flat file is ODS_<TABLE NAME>_yyyymmdd_timestamp.dat.
Each flat file may contain data for 450 pharmacies which is... (2 Replies)
Hi,
I'm quite new to ksh scripting, can someone help me with this.
Requirements:
I need to create a script that list the files from a user input date range.
e. g. format of file:
*c1*log.2012-12-22-14-00*
*c1*log.2012-12-22-14-00*
*c1*log.2012-12-22-14-00*... (1 Reply)
Hi All,
I am new to Scripting language.
I want to split a file and create several subfiles using Perl script.
Example :
File format :
Sourcename ID Date Nbr
SU IMYFDJ 9/17/2012 5552159976555
SU BWZMIG 9/14/2012 1952257857887
AR PEHQDF 11/26/2012 ... (13 Replies)
Hello I have a file of following format
HDR 1234 abc qwerty
abc def ghi jkl
HDR 4567 xyz qwerty
abc def ghi jkl
HDR 890 mno qwerty
abc def ghi jkl
HDR 1234 abc qwerty
abc def ghi jkl
HDR 1234 abc qwerty
abc def ghi jkl
-Need to split this into multiple files based on tag... (8 Replies)
Discussion started by: wincrazy
8 Replies
LEARN ABOUT PHP
rar_list
RAR_LIST(3) 1 RAR_LIST(3)RarArchive::getEntries - Get full list of entries from the RAR archive
Object oriented style (method):
SYNOPSIS
public array RarArchive::getEntries (void )
DESCRIPTION
Procedural style:
array rar_list (RarArchive $rarfile)
Get entries list (files and directories) from the RAR archive.
Note
If the archive has entries with the same name, this method, together with RarArchive foreach iteration and array-like access with
numeric indexes, are the only ones to access all the entries (i.e., RarArchive::getEntry and the rar:// wrapper are insufficient).
PARAMETERS
o $rarfile
- A RarArchive object, opened with rar_open(3).
RETURN VALUES rar_list(3) returns array of RarEntry objects or FALSE on failure.
CHANGELOG
+--------+---------------------------------------------------+
|Version | |
| | |
| | Description |
| | |
+--------+---------------------------------------------------+
| 3.0.0 | |
| | |
| | Support for RAR archives with repeated entry |
| | names is no longer defective. |
| | |
+--------+---------------------------------------------------+
EXAMPLES
Example #1
Object oriented style
<?php
$rar_arch = RarArchive::open('solid.rar');
if ($rar_arch === FALSE)
die("Could not open RAR archive.");
$rar_entries = $rar_arch->getEntries();
if ($rar_entries === FALSE)
die("Could retrieve entries.");
echo "Found " . count($rar_entries) . " entries.
";
foreach ($rar_entries as $e) {
echo $e;
echo "
";
}
$rar_arch->close();
?>
The above example will output something similar to:
Found 2 entries.
RarEntry for file "tese.txt" (23b93a7a)
RarEntry for file "unrardll.txt" (2ed64b6e)
Example #2
Procedural style
<?php
$rar_arch = rar_open('solid.rar');
if ($rar_arch === FALSE)
die("Could not open RAR archive.");
$rar_entries = rar_list($rar_arch);
if ($rar_entries === FALSE)
die("Could retrieve entries.");
echo "Found " . count($rar_entries) . " entries.
";
foreach ($rar_entries as $e) {
echo $e;
echo "
";
}
rar_close($rar_arch);
?>
SEE ALSO
RarArchive::getEntry, rar:// wrapper.
PHP Documentation Group RAR_LIST(3)