PHP Classes

File: put_file.php

Recommend this page to a friend!
  Classes of Paul.Ren   FTP Class   put_file.php   Download  
File: put_file.php
Role: Example script
Content type: text/plain
Description: put a file to FTP server
Class: FTP Class
Retrieve or send files or strings data via FTP
Author: By
Last change:
Date: 19 years ago
Size: 160 bytes
 

Contents

Class file image Download
<?
require "./ftp.class.php";
$ftp = new ClsFTP("root","");
$ftp->put("put.tmp","1.mid");//put file
$ftp->p($ftp->rawlist("."));//list

$ftp->close();
?>