ultraloveninja Posted March 17, 2008 Share Posted March 17, 2008 Hello- I was wondering if anyone had any resources, guides, etc. about how to use PHP to upload files to a FTP account. The FTP account is already created on a server and i just want to use a web based form to upload files to that FTP account. If any one has any information about this, it will be greatly appreciated. Thanks! Link to comment https://forums.phpfreaks.com/topic/96552-creating-ftp-in-php/ Share on other sites More sharing options...
craygo Posted March 17, 2008 Share Posted March 17, 2008 Since PHP is a server side script, You would actually be using the server the php script is on to make the connection to the ftp server. So if the FTP server is another box somewhere out there you would be going from your box to the php web server to the ftp server. Not very efficient. Now if the FTP is located on the same box as the web server then you could just use file functions to move files around and view files in the users folder. Ray Link to comment https://forums.phpfreaks.com/topic/96552-creating-ftp-in-php/#findComment-494099 Share on other sites More sharing options...
ultraloveninja Posted March 17, 2008 Author Share Posted March 17, 2008 Ok. I see what you are saying. You wouldn't happen to have any resources on moving files around then? I am kinda new to the whole scheme of PHP. Sorry. Link to comment https://forums.phpfreaks.com/topic/96552-creating-ftp-in-php/#findComment-494106 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.