All Projects → dg → Ftp Php

dg / Ftp Php

Licence: bsd-3-clause
FTP Wrapper Class for PHP 5

Labels

Projects that are alternatives of or similar to Ftp Php

Scriptsdump
The biggest dump of scripts ever!
Stars: ✭ 114 (-44.93%)
Mutual labels:  ftp
Fluentftp
An FTP and FTPS client for .NET & .NET Standard, optimized for speed. Provides extensive FTP commands, File uploads/downloads, SSL/TLS connections, Automatic directory listing parsing, File hashing/checksums, File permissions/CHMOD, FTP proxies, FXP support, UTF-8 support, Async/await support, Powershell support and more. Written entirely in C#,…
Stars: ✭ 1,943 (+838.65%)
Mutual labels:  ftp
Whipftp
OpenSource FTP / SFTP client
Stars: ✭ 158 (-23.67%)
Mutual labels:  ftp
Static Site Boilerplate
A better workflow for building modern static websites.
Stars: ✭ 1,633 (+688.89%)
Mutual labels:  ftp
Vscode Deploy Reloaded
Recoded version of Visual Studio Code extension 'vs-deploy', which provides commands to deploy files to one or more destinations.
Stars: ✭ 129 (-37.68%)
Mutual labels:  ftp
Wordmove
Multi-stage command line deploy/mirroring and task runner for Wordpress
Stars: ✭ 1,791 (+765.22%)
Mutual labels:  ftp
Unifile
Unified access to cloud storage services through a simple web API.
Stars: ✭ 105 (-49.28%)
Mutual labels:  ftp
Vscode Remote Workspace
Multi protocol support for handling remote files like local ones in Visual Studio Code.
Stars: ✭ 197 (-4.83%)
Mutual labels:  ftp
Dark Fantasy Hack Tool
DDOS Tool: To take down small websites with HTTP FLOOD. Port scanner: To know the open ports of a site. FTP Password Cracker: To hack file system of websites.. Banner Grabber: To get the service or software running on a port. (After knowing the software running google for its vulnerabilities.) Web Spider: For gathering web application hacking information. Email scraper: To get all emails related to a webpage IMDB Rating: Easy way to access the movie database. Both .exe(compressed as zip) and .py versions are available in files.
Stars: ✭ 131 (-36.71%)
Mutual labels:  ftp
Online Ftp S3
Online FTP / Amazon S3 Filebrowser
Stars: ✭ 157 (-24.15%)
Mutual labels:  ftp
Getssl
obtain free SSL certificates from letsencrypt ACME server Suitable for automating the process on remote servers.
Stars: ✭ 1,687 (+714.98%)
Mutual labels:  ftp
Arduinosim800l
Arduino HTTP & FTP client for SIM800L/SIM800 boards to perform GET and POST requests to a JSON API as well as FTP uploads.
Stars: ✭ 127 (-38.65%)
Mutual labels:  ftp
Ftplibpp
Platform independent c++ library providing ftp client functionality.
Stars: ✭ 155 (-25.12%)
Mutual labels:  ftp
Aioftp
ftp client/server for asyncio (http://aioftp.readthedocs.org)
Stars: ✭ 116 (-43.96%)
Mutual labels:  ftp
Importexportfree
Improve default Magento 2 Import / Export features - cron jobs, CSV , XML , JSON , Excel , mapping of any format, Google Sheet, data and price modification, improved speed and a lot more!
Stars: ✭ 160 (-22.71%)
Mutual labels:  ftp
Rust Ftp
FTP client for Rust
Stars: ✭ 110 (-46.86%)
Mutual labels:  ftp
Unftp
A FTP(S) server with a couple of twists written in Rust. Follow and talk to us on https://t.me/unftp
Stars: ✭ 137 (-33.82%)
Mutual labels:  ftp
Cakephp File Storage
Abstract file storage and upload plugin for CakePHP. Write to local disk, FTP, S3, Dropbox and more through a single interface. It's not just yet another uploader but a complete storage solution.
Stars: ✭ 202 (-2.42%)
Mutual labels:  ftp
Bigfile
Bigfile -- a file transfer system that supports http, rpc and ftp protocol https://bigfile.site
Stars: ✭ 186 (-10.14%)
Mutual labels:  ftp
Goldraccoon
The iOS component to connect to a FTP service and perform the operations you need. http://albertodebortoli.github.io/GoldRaccoon/
Stars: ✭ 156 (-24.64%)
Mutual labels:  ftp

FTP for PHP

Downloads this Month Latest Stable Version License

FTP for PHP is a very small and easy-to-use library for accessing FTP servers.

It requires PHP 5.0 or newer and is licensed under the New BSD License. You can obtain the latest version from our GitHub repository or install it via Composer:

php composer.phar require dg/ftp-php

If you like it, please make a donation now. Thank you!

Usage

Opens an FTP connection to the specified host:

$ftp = new Ftp;
$host = 'ftp.example.com';
$ftp->connect($host);

Login with username and password

$ftp->login($username, $password);

Upload the file

$ftp->put($destination_file, $source_file, FTP_BINARY);

Close the FTP stream

$ftp->close();
// or simply unset($ftp);

Ftp throws exception if operation failed. So you can simply do following:

try {
	$ftp = new Ftp;
	$ftp->connect($host);
	$ftp->login($username, $password);
	$ftp->put($destination_file, $source_file, FTP_BINARY);

} catch (FtpException $e) {
	echo 'Error: ', $e->getMessage();
}

On the other hand, if you'd like the possible exception quietly catch, call methods with the prefix 'try':

$ftp->tryDelete($destination_file);

When the connection is accidentally interrupted, you can re-establish it using method $ftp->reconnect().


(c) David Grudl, 2008, 2014 (http://davidgrudl.com)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].