Home arrow PHP arrow My FTP Wrapper Class for PHP
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 / 28
February 21, 2003
TABLE OF CONTENTS:
  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
SEARCH DEVARTICLES

TOOLS YOU CAN USE

advertisement
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
PHP ARTICLES

- 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

Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 



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