Login   Register  
PHP Classes
elePHPant
Icontem

File: put_string.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_string.php  >  Download  
File: put_string.php
Role: Example script
Content type: text/plain
Description: put string as 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:21
Size: 175 bytes
 

Contents

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

$ftp->close();
?>