|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 . |
|
#2
|
|||
|
|||
|
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. |
|
#3
|
|||
|
|||
|
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. |
|
#4
|
|||
|
|||
|
example2.php could be a problem when retreiving files, etc.
For the .txt, what I did is: PHP Code:
|
|
#5
|
|||
|
|||
|
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. |
|
#6
|
|||
|
|||
|
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 |
|
#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. |
|
#8
|
|||
|
|||
|
I keep getting this error:
Quote:
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. |
|
#9
|
|||
|
|||
|
Find the differences of the php.ini files.
diff <php1.ini> <php2.ini> |
|
#10
|
|||
|
|||
|
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 |
![]() |
| Viewing: Dev Articles Community Forums > Community > Development Tutorials > Article Discussion: My FTP Wrapper Class for PHP |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|