Skip to content

paulomcnally/photobucket-ftp-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

photobucket-ftp-php

Simple class to upload images to photobucket via FTP Pro Only

<?php
require_once 'ftp.php';

$ftp = new Ftp( "ftp.photobucket.com", "user", "password" );
if( $ftp->make_dir( "test" ) )
		{
		if( $ftp->set_chdir( "test" ) )
				{
				if( $ftp->put( "girl.png" ) )
						{
						echo "Archivo subido con nombre: " . $ftp->new_file_name;
						}
				}
		}
//echo $ftp->get_pwd();
//echo print_r( $ftp->get_nlist( ) );
?>

About

Siple class to upload images to photobucket via FTP Pro Only

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages