Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FTP upload from browser

Status
Not open for further replies.

djd4n

Programmer
Jan 30, 2005
3
0
0
GB
Hi
i'm trying to create an FTP upload system using PHP. I need to be able to select an image file using HTML form then upload it via FTP. I have been able to achieve it using the upload function in php, but i need it to be via FTP.

I can connect to the FTP server using PHP and create directories but i'm struggling to get the ftp_put function to work. I'm unsure on how to pass the remote file info to the function and other things.

Does anyone know of any simple examples?

cheers

Dan Morton
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top