[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/ftp ftp.c ftp.h php_ftp.c php_ftp.h

2002-08-30 Thread Markus Fischer
On Fri, Jul 26, 2002 at 10:00:27PM -, Stefan Esser wrote : sesserFri Jul 26 18:00:27 2002 EDT Modified files: /php4/ext/ftp ftp.c ftp.h php_ftp.c php_ftp.h Log: [EXPERIMENTAL] Added functions for asynchronous FTP transfers What

Re: [PHP-DEV] RE: [PHP-CVS] cvs: php4 /ext/ftp ftp.c ftp.h

2002-02-10 Thread Stig Venaas
On Thu, Feb 07, 2002 at 11:21:26PM +0100, Stig Venaas wrote: On Thu, Feb 07, 2002 at 12:42:29AM +0100, marc wrote: I just left it with the new sizeof, but there may be side-effects? It's okay as long as you don't have IPv6, 95/98 doesn't. I've now committed a proper fix with no

Re: [PHP-DEV] RE: [PHP-CVS] cvs: php4 /ext/ftp ftp.c ftp.h

2002-02-07 Thread marc
I just left it with the new sizeof, but there may be side-effects? It's okay as long as you don't have IPv6, 95/98 doesn't. Well, it should run on all other win versions too (except 16-bit crap) and commit something tomorrow I hope. Nice if you can help test that too then. I guess you used

RE: [PHP-DEV] RE: [PHP-CVS] cvs: php4 /ext/ftp ftp.c ftp.h

2002-02-06 Thread Marc Boeren
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. Thanks, this helps a lot (I think). Does it work if you in line 1053

Re: [PHP-DEV] RE: [PHP-CVS] cvs: php4 /ext/ftp ftp.c ftp.h

2002-02-06 Thread Stig Venaas
On Tue, Feb 05, 2002 at 11:44:18PM +0100, marc wrote: 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

Re: [PHP-DEV] RE: [PHP-CVS] cvs: php4 /ext/ftp ftp.c ftp.h

2002-02-06 Thread Stig Venaas
On Wed, Feb 06, 2002 at 10:03:50AM +0100, Marc Boeren wrote: 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); OK, this makes it work... on Win98 at least (and it still

Re: [PHP-DEV] RE: [PHP-CVS] cvs: php4 /ext/ftp ftp.c ftp.h

2002-02-06 Thread marc
Hi, OK, this makes it work... on Win98 at least (and it still works on NT :-) Ah, great, ignore my last mail then (: My first reply was from home, where I didn't have a test setup (only win2k and linux here), the second from work where I have a few more testmachines ready... [sizeof change]

[PHP-DEV] RE: [PHP-CVS] cvs: php4 /ext/ftp ftp.c ftp.h

2002-02-05 Thread Marc Boeren
Hi Stig (and others, Wez for instance), The patch below seems to have broken the ftp_get function (I used ftp_get($conn_id, $local_file, $remote_file, FTP_BINARY)) in Win95 and Win98, it now displays a warning: Warning: Type set to I. in on line and returns false. It works OK on WinNT

RE: [PHP-DEV] RE: [PHP-CVS] cvs: php4 /ext/ftp ftp.c ftp.h

2002-02-05 Thread Marc Boeren
Hi Stig (and others, Wez for instance), The patch below seems to have broken the ftp_get function (I used ftp_get($conn_id, $local_file, $remote_file, FTP_BINARY)) in Win95 and Win98, it now displays a warning: Warning: Type set to I. in on line and returns false. It works OK

Re: [PHP-DEV] RE: [PHP-CVS] cvs: php4 /ext/ftp ftp.c ftp.h

2002-02-05 Thread Stig Venaas
Hi On Tue, Feb 05, 2002 at 05:55:45PM +0100, Marc Boeren wrote: Hi Stig (and others, Wez for instance), The patch below seems to have broken the ftp_get function (I used ftp_get($conn_id, $local_file, $remote_file, FTP_BINARY)) in Win95 and Win98, it now displays a warning:

Re: [PHP-DEV] RE: [PHP-CVS] cvs: php4 /ext/ftp ftp.c ftp.h

2002-02-05 Thread marc
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