Hello Christoph Michael, >> The program always returns a "Warning: stat(): stat failed for >> ftp://user:pass@ftp-server/path/filename" message. >> >> If I use the functions "ftp_connect - ftp_login - ftp_size - ftp_close" >> these kind of failure doesn't appear and I'm able to access the >> FTP server and the stored files. >> ... >> Does anyone have an idea how I could isolate the cause of the problem? > > Did you have a look at <http://php.net/manual/en/wrappers.ftp.php>? yes, I read that information. I tried to set the connection to passive mode in advance but it doesn't influence the result of a failing stat() function. Regards Juergen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php