I always failed to connect to the server. Hence, I tried using my own computer IP address and username & password, but the connection failed too. What's wrong with my code?
Please enlighten me.
Hi Bokeh and Chazzy, thank you for your reply. FYI, my Apache server has --enable-ftp option and the actual FTP server is running. I tried to connect to the remote server using a FTP software and it works well. In other words, there's problem with my php script. I really have no idea what goes wrong. Please help.