|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
writing a file to a ftp server
Hi guys,
Could you please give a solution to this naive. Actually i wanna write a new file on to a ftp server through my php script and the contents of that file would be the contents wriiten in the textarea. of the form which will be displayed on the client side. Whatever the contents would be passed in that textarea will make a new file on the ftpserver. My main stress is over here how can i write the file on a ftp server having all the contents for that file with me. i am not asking about the uploading thing but we have to write a file on a ftp server with all permission given and we have the contents of that file in $_REQUEST['contents'] with us. Please help guys, Thanks buddinghere |
|
#2
|
||||
|
||||
|
ftp:// wrapper maybe? or the FTP extension?
PHP Code:
Hope this helps!
__________________
~~ Peter ~~ ( My Blog: It's exactly like normal nerdiness, but completely different. ) :: ( Supporter of the EFF & FSF ) :: ( I'm a GNU/Linux addict and Free Software Advocate. ) :: ( How to Ask Questions the Smart Way ) :: ( The Fedora Project, sponsored by Red Hat ) :: ( GNOME: The Free Software Desktop Project ) :: ( GnuPG Public Key ) Last edited by php4geek : February 12th, 2004 at 10:39 AM. |
![]() |
| Viewing: Dev Shed Forums > System Administration > FTP Help > writing a file to a ftp server |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|