
August 19th, 2003, 01:51 PM
|
|
Contributing User
|
|
Join Date: Apr 2003
Posts: 63
Time spent in forums: < 1 sec
Reputation Power: 6
|
|
|
uploading to FTP
PHP Code:
<?php
include('pclzip.lib.php');
$archive = new PclZip('1.zip');
$list = $archive->extract(PCLZIP_OPT_PATH, "test/");
if ($list == 0) {
die ("Unrecoverable error '".$archive->errorName(true)."'");
}
?>
If I were to connect to FTP of another server on the same page- how could I upload the files that are extracted from the zip above?
Then, when I get there, how would I create a folder on the other server for it to be moved to?
__________________
~ Kaen
|