Login   Register  
PHP Classes
elePHPant
Icontem

File: put_file.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 2004-07-27 23:20
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();
?>