Commit Graph

30 Commits

Author SHA1 Message Date
foobar
1f00cff3ab Fixed ftp_mkdir(). It return the dirname passed to it in case of
braindead ftp server which doesn't put the real path into reply.
PR: 7216
2000-11-03 21:53:24 +00:00
foobar
4c2abe7df4 Both RETR and STOR have also 250 as possible return value 2000-10-31 00:30:37 +00:00
foobar
55ccb5a35b Fix the fix. 2000-10-31 00:00:26 +00:00
foobar
b45d265c54 Fixed PR: 6730. And it is mentioned also in RFC 959 to be this way. 2000-10-27 20:53:04 +00:00
foobar
11af318a62 Fixes PR: 7245 2000-10-27 20:47:36 +00:00
Derick Rethans
c7d31495bf - Added ftp_exec to the ftp functions (thanks to <jhennebicq@i-d.net>)
@ Added ftp_exec to the ftp functions (thanks to <jhennebicq@i-d.net>)
@ (Derick)
2000-09-13 22:00:31 +00:00
foobar
d6f2f2c396 @- Fixed FTP module to accept multiline server replies (Jani)
# This fixed bug #4546.
2000-08-10 21:13:08 +00:00
Zeev Suraski
da66298659 - Fix a couple of wranings in the FTP code and in parsedate.y
- Be safer with LC_MESSAGES
- Align with the latest Zend change in call_user_function_ex()
2000-06-17 16:49:03 +00:00
Andrew Skalski
6d51f4a788 Changed the #ifdefs around "errno = ETIMEDOUT;" to include the rest
of the statement ["if (n == 0)"]
2000-05-23 13:56:04 +00:00
Andi Gutmans
32dffec0f8 - PHP_WIN32 macro should be used with #ifdef/#ifndef
- Always use PHP_WIN32 instead of WIN32/WINNT values
2000-05-23 13:49:55 +00:00
Frank M. Kromann
c9158aec30 fixing type 2000-05-23 11:52:04 +00:00
Frank M. Kromann
34e74f8afe chang #if to #ifdef 2000-05-23 10:36:48 +00:00
Frank M. Kromann
08bd9586fb making ftp module compile and work on win32 2000-05-23 08:05:22 +00:00
Andrew Skalski
3ac4c96641 applied Luca Montecchiani's win32 fixes (open files in binary mode
using the "b" fopen flag, and use closesocket rather than close
when closing sockets)
2000-05-22 21:16:58 +00:00
Sascha Schumann
d0f3764ee2 Change reentrancy API to always use the php prefix.
Check for the declaration of reentrant functions, so that we can use
them in non-ZTS mode on all platforms.
2000-05-04 10:38:17 +00:00
Andrew Skalski
ceebb2db61 added the ftp_site() function 2000-02-22 20:50:00 +00:00
Andrew Skalski
2ba009c0f1 recognize 125 as success for put/get commands 2000-02-16 16:07:27 +00:00
Andrew Skalski
ecc77c81cc typecast void pointer to char* for pointer arithmetic 1999-11-27 20:58:33 +00:00
Sascha Schumann
2f6ded9ac9 Convert more source files to use thread-safe functions 1999-11-26 16:51:57 +00:00
Thies C. Arntzen
3e59135a5c <sys/time.h> is needed on linux 1999-11-19 18:33:21 +00:00
Andrew Skalski
0cb70ef9bb Removed stdio wrapper from sockets; added timeouts to socket ops. 1999-11-18 20:29:32 +00:00
Andrew Skalski
f1f8b8a9a2 Added delete and rename functions. 1999-10-04 18:30:37 +00:00
Andrew Skalski
0413f52480 Added functions ftp_{pasv,size,mdtm,fget,fput}
PASV mode is now supported; file size and last-modified time can now
be fetched from servers that support them; files now may be stored to and
retrieved from open files, in addition to disk files.
1999-09-27 14:07:09 +00:00
Andrew Skalski
4b0707cf32 Added optional port argument to ftp_connect() 1999-09-22 16:07:41 +00:00
Andrew Skalski
773a26bb22 added missing "addr.sin_family = AF_INET" to socket routines 1999-09-21 23:34:45 +00:00
Andrew Skalski
85ca1dfb08 Replaced ftplib because of incompatible license. 1999-09-20 14:10:25 +00:00
Andrew Skalski
359a3af2a1 Added documentation hooks to ftp.c 1999-09-16 19:39:44 +00:00
Andrew Skalski
13a74e6979 added ftp_pwd() ftp_cdup() ftp_mkdir() and ftp_rmdir() 1999-09-16 19:03:27 +00:00
Andrew Skalski
93313c576c added ftp_systype() and ftp_listraw() functions 1999-09-16 18:38:11 +00:00
Andrew Skalski
f0688ad7e2 Added rudimentary FTP support. 1999-09-16 15:57:51 +00:00