aboutsummaryrefslogtreecommitdiff
path: root/networking/ftpgetput.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* ipv6-ization efforts continue. Few bugs are found,Denis Vlasenko2007-01-111-11/+8
| | | | unknown number likely introduced...
* ftpgetput: fix PASV mode, fix xatou0induced breakage,Denis Vlasenko2007-01-031-35/+59
| | | | | improve error message, guard against garbage from remote server being printed. ~20 bytes code growth
* tar et al: die if bb_copyfd_size copies less than asked for.Denis Vlasenko2006-12-221-15/+14
| | | | (we have bb_copyfd_exact_size now for that kind of usage)
* inline strcmp(s, "-") [actually macro-ize it for now - gcc is too stupid]Denis Vlasenko2006-12-161-4/+3
|
* fix support for globally disabling --long-options.Denis Vlasenko2006-11-291-11/+9
| | | | (disabling them saves ~4K on fully configured bbox)
* style cleanup: return(a) -> return a, part 1Denis Vlasenko2006-11-271-4/+4
|
* safe_strtoXX interface proved to be a bit unconvenient.Denis Vlasenko2006-11-271-1/+2
| | | | | Remove it, introduce saner bb_strtoXX. Saved ~350 bytes.
* small fixes:Denis Vlasenko2006-11-261-1/+1
| | | | | | fix xstrdup to not grossly overallocate memory use xopen instean of xopen3 in several places etc.
* header_verbose_list: stop truncating file size in listingDenis Vlasenko2006-11-241-1/+1
|
* ls: cleanup part 1Denis Vlasenko2006-10-281-1/+1
|
* xconnect is non-conforming to "xfunc like libc" rule. FixingDenis Vlasenko2006-10-261-2/+2
|
* add open_read_close() and similar stuffDenis Vlasenko2006-10-141-1/+1
|
* small style fixesDenis Vlasenko2006-10-121-1/+1
|
* correct largefile support, add comments about it.Denis Vlasenko2006-10-081-9/+11
|
* attempt to regularize atoi mess.Denis Vlasenko2006-10-081-7/+7
|
* bb_applet_name -> applet_nameDenis Vlasenko2006-10-031-2/+2
|
* getopt_ulflags -> getopt32.Denis Vlasenko2006-10-031-3/+3
| | | | | | | | It is impossible to formulate sane ABI based on size of ulong because it can be 32-bit or 64-bit. Basically it means that you cannot portably use more that 32 option chars in one call anyway... Make it explicit.
* Ok, that's not a typo, that's just me not thinking.Rob Landley2006-08-041-1/+1
|
* Now that we have xopen3(), it's just plain unclean to have xopen() withRob Landley2006-08-041-1/+1
| | | | | | | O_CREAT. Two users are still doing it (and thus getting permissions 777), I'm not sure what permissions they should be using but here they are changed to xopen3(). This costs us a dozen or so bytes, but removing the 777 from xopen() should get some of that back.
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley2006-08-031-15/+4
| | | | | | | | | | things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.)
* - fix the build if we have ftpput without ftpget (speeling reeoe)Bernhard Reutner-Fischer2006-06-071-2/+2
| | | | Thanks to Stephane Billiart
* #ifdef reduction.Rob Landley2006-06-021-10/+5
|
* Consolidate #include <sys/time.h> so libbb.h does it.Rob Landley2006-05-271-1/+0
|
* - add central knob to turn off getopt_long everywhere. EXPERIMENTAL!Bernhard Reutner-Fischer2006-05-261-0/+4
| | | | | | Adds "Enable getopt long" under "General options", default y. Send patches to fix getopt_ulflags and run_parts.c if you turn this off.. See http://busybox.net/lists/busybox/2006-May/021828.html for a start to run-parts
* - remove emacs layout block as suggested by Robert P.J. DayBernhard Reutner-Fischer2006-05-191-8/+0
| | | | - use shorter boilerplate while at it
* CONFIG->ENABLE migration.Rob Landley2006-05-041-16/+8
|
* The brain-dead FTP servers on Solaris don't support the size command.Rob Landley2006-01-101-2/+9
|
* Patch from Tomasz Mateja: don't try to CWD to a _filename_, just send the fullRob Landley2005-11-081-19/+2
| | | | path to the STOR command.
* applying fix from:Paul Fox2005-07-191-2/+2
| | | | | | 0000108: busyboxy/networking/ftpgetput.c not conforming to RFC 959. ftpget and ftpput send <LF> as EOL.
* Fix size command, safe_strtoul gives and error if the \r is left in, theGlenn L McGrath2004-05-041-1/+6
| | | | | RFC spec says the \r should be there. This fix is the same as a recent wget fix
* Update my email address, document some of my tasks in the AUTHORS fileGlenn L McGrath2004-04-251-1/+1
|
* s/fileno\(stdin\)/STDIN_FILENO/gEric Andersen2004-03-271-2/+2
| | | | s/fileno\(stdout\)/STDOUT_FILENO/g
* Oops. Using the wrong variable was a rather stupidEric Andersen2004-03-151-1/+1
| | | | thing for me to do.
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-151-7/+7
|
* Fix/eliminate use of atolEric Andersen2004-03-061-1/+4
|
* Modify bb_lookup_port to allow the protocol to be specified, allowingGlenn L McGrath2004-01-171-1/+1
| | | | /etc/services support for inetd, netcat and tftp.
* Allow recieving file to stdout, sending files from stdin, use the '-'Glenn L McGrath2003-12-201-35/+37
| | | | filename. Save a variable.
* display the port number number correctly, other minor optimisationsGlenn L McGrath2003-12-201-30/+20
|
* Change interface to bb_lookup_host, dont try and set port inside thisGlenn L McGrath2003-12-201-1/+2
| | | | | | | | function as there is no gracefull way of handling failures. Rename bb_getport to bb_lookup_port, allow a default port to be specified so it always returns a correct value. Modify ftpgetput/rdate/wget to use the new interface. wget/rdate now use etc/services with a falback default value.
* Use getopt_ulflagsGlenn L McGrath2003-12-191-31/+23
|
* As we no longer use function pointers for read in common archiving codeGlenn L McGrath2003-11-211-2/+2
| | | | | | | archive_xread can be replaced with bb_full_read, and archive_copy_file with bb_copyfd* bb_copyfd is split into two functions bb_copyfd_size and bb_copyfd_eof, they share a common backend.
* Fix rdate and ftpget/ftpput so they compile with the new xconnect.Eric Andersen2003-11-031-12/+28
| | | | | I have checked rdate. Someone should also check ftpget/ftpput to be sure they still work.
* use an explicit cast on some types that change size whenEric Andersen2003-06-201-2/+2
| | | | large file support is enabled.
* Major coreutils update.Manuel Novoa III2003-03-191-25/+25
|
* When retrieving a file dont open file until we have to to prevent files of ↵Glenn L McGrath2002-12-181-8/+8
| | | | size 0 being created when retrieval fails, bug found by Jeff Angielski
* Merge copyfd and copy_file_chunkGlenn L McGrath2002-12-131-47/+6
|
* Change ftpput so it uses <remote-path> <local-file> as it shouldGlenn L McGrath2002-12-131-1/+1
|
* Fix possible bug if file length not knownGlenn L McGrath2002-12-131-6/+11
|
* New applets, ftpget and ftpputGlenn L McGrath2002-12-131-0/+405