Hi, > > I looked into it a bit, and I get a windows error for the connect() > > function: > > > > WSAEFAULT: > > The name or the namelen parameter is not a valid part of the user address > > space, the namelen parameter is too small, or the name parameter contains > > incorrect address format for the associated address family. > > > > Any pointers? > > Thanks, this helps a lot (I think). Does it work if you in line > 1053 or so, replace > size = sizeof(php_sockaddr_storage); > with > size = sizeof(struct sockaddr_in);
I tried sizeof(ftp->pasvaddr), but no effect... (same errormsg) Could this be a wsock32 version difference between the win95/98 and NT/2000 versions? > ? If it does, could you perhaps try to determine the maximum value? > I would try to add 1 to the size above, and also 256, 128 and 64. > You've done a good job already, I understand if you don't want to > check all this. No problem, I want to get the problem solved... I'll look into it some more tomorrow, I have some old ftp-code of my own lying around somewhere, I'll check if this has problems as well on win95/98 (although a previous version of php worked fine on win98 at least). I'll try the official 4.1.0 as well, and I probably have some older versions on my disk too, that might narrow it down a bit... I'll report again tomorrow :) CU, Mc! -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php