Home arrow PHP arrow My FTP Wrapper Class for PHP

My FTP Wrapper Class for PHP

In this article Mitchell shares his FTP wrapper class which he has written in PHP. It includes error checking and many useful functions.

Author Info:
By: Mitchell Harper
Rating: 4 stars4 stars4 stars4 stars4 stars / 33
February 21, 2003
  1. · My FTP Wrapper Class for PHP
  2. · Wrapping? Huh?
  3. · Functions, Functions and More Functions!
  4. · The Functions (contd.)
  5. · The Functions (contd.)
  6. · Examples of Using the MY_FTP Class
  7. · Conclusion

print this article

My FTP Wrapper Class for PHP
(Page 1 of 7 )

Hi once again everyone. Iíve been away for quite a while working on one of our new products, and as such havenít had the time to write many articles over the last 2 or 3 months. Today, however, Iíve decided to share with you the workings of an FTP wrapper class that I have written for one of our upcoming products.

Although I canít reveal too much about the product that me and a couple of the SiteCubed developers are working on, I can tell you that it is written in PHP/MySQL, and makes heavy use of FTP.

As you may or may not know, PHPís support for FTP is fantastic, however because this support comes in the form of many unstructured functions, I decided to wrap the most common ones into a class, which I call MY_FTP.

Anyhow, letís get on with it and start looking at my FTP wrapper class.

If the functions in my FTP class donít work then you server probably doesnít have the FTP extension enabled. You will need to compile PHP with Ėenable-ftp or ask your web host to do it for you.
blog comments powered by Disqus

- Removing Singletons in PHP
- Singletons in PHP
- Implement Facebook Javascript SDK with PHP
- Making Usage Statistics in PHP
- Installing PHP under Windows: Further Config...
- File Version Management in PHP
- Statistical View of Data in a Clustered Bar ...
- Creating a Multi-File Upload Script in PHP
- Executing Microsoft SQL Server Stored Proced...
- Code 10x More Efficiently Using Data Access ...
- A Few Tips for Speeding Up PHP Code
- The Modular Web Page
- Quick E-Commerce with PHP and PayPal
- Regression Testing With JMeter
- Building an Iterator with PHP

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 

Developer Shed Affiliates


© 2003-2019 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials