ftp to WinNT/W2k

From: Date: Wed, 29 Nov 2000 13:17:34 +0000
Subject: ftp to WinNT/W2k
Groups: php.general 
Request: Send a blank email to php-general+get-27808@lists.php.net to get a copy of this message
I am having serious problems doing automated ftp to WindowsNT machines. In some previous posts, I read that due to a lack of 'passive mode' support on the NT side, it does not work with PHP. Is there already some workaround available? tnx, dk currently, I am using this code for transfer... ftp to unix/linux boxes works just fine! ... $dfile = fopen( "ftp://" . $ftpUser . ":" . $ftpPassword . "@" . $ftpServerAddress . $ftpFileName ,w); if( $dfile ){ fwrite( $dfile, fread($sfile, filesize($srcFileName))); fclose( $dfile ); }else{ // echo( "File open to FTP failed miserably"); $error = "ftp_failed"; } ...

« previous php.general (#27808) next »