PHP Classes
elePHPant
Icontem

File: index.php

Recommend this page to a friend!
  Classes of Muhammad Umer Farooq  >  PHP SFTP Library  >  index.php  >  Download  
File: index.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP SFTP Library
Access FTP and SFTP servers to transfer files
Author: By
Last change:
Date: 1 year ago
Size: 155 bytes
 

 

Contents

Class file image Download
<?php
require_once 'classes/FTP.php';

$ftp = new FTP('ftp.myserver.com', 'username', 'password',false);

$ftp->mkdir('somedir');
$ftp->chdir('somedir');