Login   Register  
PHP Classes

File: ftptest.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Carlos Falo Hervás  >  FTP object  >  ftptest.php  >  Download  
File: ftptest.php
Role: Example script
Content type: text/plain
Description: Test script
Class: FTP object
FTP client wrapper
Author: By
Last change:
Date: 11 years ago
Size: 421 bytes


Class file image Download
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<? require ("ftp_object.class.php") ; ?>
require ("ftp_init.inc") ; ?>
    <title>Test for FTP class</title>
if ($ftp->connected) {
$ftp->put("ftptest.php",1) ;
$ftp->dirlist() ;
$ftp->ldirlist() ;
$ftp->destroy() ;