d.shankar Posted July 15, 2008 Share Posted July 15, 2008 Hi all, I have a ftp server and an image. When i run a php code it should automatically log on to that ftp server and upload the image and then close back the connection Similarly it has to delete the image when i run another php code. Is this possible with PHP ? where should i start ?? cURL ?? Link to comment https://forums.phpfreaks.com/topic/114788-ftp-with-php-automated/ Share on other sites More sharing options...
samshel Posted July 15, 2008 Share Posted July 15, 2008 you should always start by searching in the manual http://in.php.net/manual/en/book.ftp.php hope you are looking for the same. Link to comment https://forums.phpfreaks.com/topic/114788-ftp-with-php-automated/#findComment-590195 Share on other sites More sharing options...
mmarif4u Posted July 15, 2008 Share Posted July 15, 2008 I think you can.But not a good idea to do with a file. Ftp access is better to be used with ssh by a terminal or putty or any software offering it like filezella etc. Link to comment https://forums.phpfreaks.com/topic/114788-ftp-with-php-automated/#findComment-590199 Share on other sites More sharing options...
corbin Posted July 15, 2008 Share Posted July 15, 2008 http://www.google.com/search?hl=en&q=php+ftp&btnG=Google+Search Link to comment https://forums.phpfreaks.com/topic/114788-ftp-with-php-automated/#findComment-590200 Share on other sites More sharing options...
d.shankar Posted July 15, 2008 Author Share Posted July 15, 2008 yes marif... but i need to automate this process thats why i ask. normally i use winscp ... Link to comment https://forums.phpfreaks.com/topic/114788-ftp-with-php-automated/#findComment-590202 Share on other sites More sharing options...
d.shankar Posted July 15, 2008 Author Share Posted July 15, 2008 Thank you samshel and corbin , will check out both links. Link to comment https://forums.phpfreaks.com/topic/114788-ftp-with-php-automated/#findComment-590205 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.