Development Tutorials
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsCommunityDevelopment Tutorials

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old February 21st, 2003, 07:03 PM
mytch mytch is offline
Dev Articles Novice (500 - 999 posts)
 
Join Date: Apr 2002
Location: Sydney, Australia
Posts: 589 mytch User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Article Discussion: My FTP Wrapper Class for PHP

My FTP Wrapper Class for PHP If you have any questions or comments about this article then please post them here.

You can read the article here .

Reply With Quote
  #2  
Old February 22nd, 2003, 11:58 AM
digitallysmooth digitallysmooth is offline
you know how we do
Dev Articles Novice (500 - 999 posts)
 
Join Date: Jun 2002
Posts: 788 digitallysmooth User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 34 m 21 sec
Reputation Power: 7
Good article.
Nice of you to explain "wrappers" to those who are thrown off by the term.
__________________
__________________________________________________ _
Wil Moore III, MCP | Integrations Specialist | Senior Consultant
Are You Listed...? | DigitallySmooth Inc.

Reply With Quote
  #3  
Old February 24th, 2003, 05:31 PM
mytch mytch is offline
Dev Articles Novice (500 - 999 posts)
 
Join Date: Apr 2002
Location: Sydney, Australia
Posts: 589 mytch User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Thanks for your nice words I have been really busy lately, but I wanted to sit down and give you guys a nice article with lots of explanations and also lots of chunky code which you can have a play with.

Reply With Quote
  #4  
Old March 22nd, 2003, 07:01 PM
perfectphp perfectphp is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Posts: 3 perfectphp User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
example2.php could be a problem when retreiving files, etc.

For the .txt, what I did is:

PHP Code:
echo "<h1>Readme.txt</h1><p><pre>";
        echo 
$readMe;
        echo 
"</pre>"

Reply With Quote
  #5  
Old June 2nd, 2003, 02:42 AM
d.bernard d.bernard is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 1 d.bernard User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Unhappy upload

could you give me an example of an upload script using your ftp class?
I try with your SaveDataToRemoteFile but i got "Couldn't open a local file for temporary output" error.
maybe my input type=file form doesn't work like i think...
i use $HTTP_POST_FILES['fichier']['name'] to retreive the name of the file that i would like to upload.

Thanx in advance for your answer.

Reply With Quote
  #6  
Old June 8th, 2003, 01:12 PM
FrankieShakes FrankieShakes is offline
Frank The Tank!
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: Jun 2002
Location: Toronto, Canada
Posts: 1,246 FrankieShakes User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Send a message via ICQ to FrankieShakes Send a message via MSN to FrankieShakes
What's your Form code look like? It may be something related to that...

Also, does the temporary upload directory configured in your PHP.ini file actually exist on your server?
__________________
____________________________________________
Developer Shed Weekly Writer | DevArticles Forum Moderator
Build Your Own KlipFolio Klip With PHP
FrankManno.com - Under Construction
Design Interactive Group - Under Construction

Reply With Quote
  #7  
Old July 19th, 2003, 07:33 AM
digitallysmooth digitallysmooth is offline
you know how we do
Dev Articles Novice (500 - 999 posts)
 
Join Date: Jun 2002
Posts: 788 digitallysmooth User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 34 m 21 sec
Reputation Power: 7
d.bernard,

When you form upload a file to the server it goes into a temporary directory that PHP.INI specifies... You are most likely trying to ftp upload a file from your current directory when in fact the file is sitting in some temporary folder.

Reply With Quote
  #8  
Old August 18th, 2003, 09:38 PM
suzkaw suzkaw is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 1 suzkaw User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I keep getting this error:
Quote:
Warning: ftp_put(): bind() failed: Permission denied (13)
Warning: ftp_put(): Type set to I. in


Now I can get it to work on one server but not the other and both have --ftp-enabled.
Do you have any ideas? Also I am trying to ftp to Froogle's server and can do it manually with no problems.

Reply With Quote
  #9  
Old August 20th, 2003, 01:16 AM
digitallysmooth digitallysmooth is offline
you know how we do
Dev Articles Novice (500 - 999 posts)
 
Join Date: Jun 2002
Posts: 788 digitallysmooth User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 34 m 21 sec
Reputation Power: 7
Find the differences of the php.ini files.

diff <php1.ini> <php2.ini>

Reply With Quote
  #10  
Old April 29th, 2004, 06:22 AM
Icemann3000 Icemann3000 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 1 Icemann3000 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Where can i download FTP Wrapper Class?

Hi Guys,

am I stupid ?

I couldnīt found the download Link for the "My FTP Wrapper Class".

Can someone help me to find them ?

Thanks a lot.

Michael

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsCommunityDevelopment Tutorials > Article Discussion: My FTP Wrapper Class for PHP


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT