Think about if I requested you to login into an ftp server then create a brand new sub listing underneath root, add a brand new file to that sub listing after which rename the newly uploaded file utilizing the present set of php apis.

What number of strains of php code it might take you to realize such an operation? 10 Perhaps?

Think about if a library existed to scale back that to only two strains.

$root = (new MightyFtpClient(“ftphost”,new MightyFtpCredentials(“username”,”password”))->getRoot(); //login and get root listing

$root->makeSubDirectory(“SubDirectoryName”)>add(“mylocalfile.txt”)>rename(“renamedUploadedFile.txt”);

That library is Mighty Ftp!!

Mighty Ftp is a php library that gives a easy and intuitive expertise for programmers who want to work together with ftp servers via php.
Like jquery it helps chaining which suggests like the instance above the MightyFtp permits individuals to use many operations
to information / directories on an ftp server with little or no effort.

Key phrases