aboutsummaryrefslogtreecommitdiffstats
path: root/ftp.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * ftp.c (ftp_pasv): ftp_command responseFumitoshi UKAI2003-01-111-3/+3
| | | | | (readFTPDir): masked declaration of realpathname From: Fumitoshi UKAI <ukai@debian.or.jp>
* fix indentFumitoshi UKAI2003-01-111-32/+29
|
* [w3m-dev 03633] Re: cleanup (don't close connection of news server)Fumitoshi UKAI2003-01-111-422/+244
| | | | | | | | | | | | | | | | | | | * file.c (FTPhalfclose): deleted (loadGeneralFile): closeFTP when doFileSave is done (_doFileCopy): return int (doFileMove): return int (doFileSave): return int * ftp.c: rewrite * main.c (w3m_exit): disconnectFTP * proto.h (_doFileCopy): return int (doFileMove): return int (doFileSave): return int (openFTP): deleted (openFTPStream): return InputStream (closeFTP): no arg (Ftpfclose): disconnectFTP * url.c (openFTPstream): deleted From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03595] tolower, toupperFumitoshi UKAI2002-12-241-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Str.c (Strlower): TOLOWER (Strupper): TOUPPER * backend.c: delete ctype.h * etc.c (gethtmlcmd): TOLOWER * file.c (readHeader): TOLOWER (checkOverWrite): TOLOWER (guess_charset): TOLOWER * ftp.c: delete ctype.h * indep.c (strcasecmp): TOLOWER (strncasecmp): TOLOWER (strcasematch): TOLOWER * istream.c: include myctype.h (ssl_get_certificate): TOLOWER * mailcap.c (mailcapMatch): TOLOWER * main.c (_quitfm): TOLOWER * menu.c (accesskey_menu): TOLOWER * mimehead.c: include myctype.h (decodeWord): TOUPPER * mktable.c: delete ctype.h, include myctype.h (main): IS_SPACE * myctype.h: delete ctype.h (TOLOWER): added (TOUPPER): added * parsetagx.c (parse_tag): TOLOWER * rc.c (str_to_bool): TOLOWER (str_to_color): TOLOWER * regex.c: delete ctype.h, include myctype.h (TOLOWER): added (TOUPPER): added (regmatch1): TOLOWER (matchWhich): TOLOWER, TOUPPER From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03588] include time.h in ftp.cFumitoshi UKAI2002-12-191-1/+2
| | | | | * ftp.c: include <time.h> From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03574] Re: preserve timestampFumitoshi UKAI2002-12-151-4/+5
| | | | | * ftp.c (getFtpModtime): don't call localtime,gettime in same expr From: Takahashi Youichirou <nikuq@hk.airnet.ne.jp>
* fix indentFumitoshi UKAI2002-12-141-3/+2
|
* [w3m-dev 03568] Re: preserve timestampFumitoshi UKAI2002-12-141-2/+31
| | | | | | | | | | | | | | | | | | * etc.c (USE_COOKIE): moved * file.c (utime.h): include (setModtime): added (loadGeneralFile): set f.modtime (_doFileCopy): setModtime() (doFileSave): setModtime() * ftp.c (getFtpModtime): added (openFTP): pass URLFile, set modtime * html.h (URLFile): add modtime * proto.h (openFTP): arg URLFile *uf (mymktime): always * url.c (init_stream): initialize modtime (openFTPStream): pass URLFile (openURL): openFTPStream From: Takahashi Youichirou <nikuq@hk.airnet.ne.jp>
* ftp.c (ftp_fclose): void returnFumitoshi UKAI2002-11-181-2/+3
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 03444] download from ftp.Fumitoshi UKAI2002-11-181-18/+25
| | | | | | | | | | | | | * file.c (FTPhalfclose: static (loadGeneralFile): UFclose FTPhalfclose for SCM_FTP UFclose before signal back (loadImageBuffer): UFclose before signal back (openGeneralPagerBuffer): UFclose * ftp.c (ftp_fclose): added (Ftpfclose): dont read response(), but ftp_fclose() (FtpBye): ftp_fclose() From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03365] ~/.netrc supportFumitoshi UKAI2002-10-301-5/+18
| | | | | | | | | | | | | | | * etc.c (add_auth_pass_entry): add netrc arg add new entry to tail (find_auth_pass_entry): ent->host == NULL is "default" (loadPasswd): rewrite with next_token, parsePasswd, openPasswdFile load ~/.netrc (next_token): added (parsePasswd): added (openPasswdFile): added * ftp.c (openFTP): use find_auth_user_passwd * NEWS: ~/.netrc From: Fumitoshi UKAI <ukai@debian.or.jp>
* Debian Bug#157098: wrong file presentation on large filesFumitoshi UKAI2002-08-201-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | from "Eduard Bloch" <blade@debian.org> * configure (clen_t): added (HAVE_STRTOLL): added (HAVE_STRTOQ): added (HAVE_ATOLL): added (HAVE_ATOQ): added * config.h.dist: ditto * file.c (current_content_length): s/int/clen_t/ (loadGeneralFile): s/atoi/strtoclen/ (convert_size): s/int/clen_t/ (convert_size2): s/int/clen_t/ (showProgress): s/int/clen_t/ (loadHTMLstream): s/int/clen_t/ linelen, trbyte (loadBuffer): ditto (getNextPage): s/int/clen_t/ linelen (save2tmp): s/int/clen_t/ linelen, trbye (_MoveFile): s/int/clen_t/ linelen, trbye * fm.h (_Buffer): s/int/clen_t/ linelen, trbye * ftp.c (size_int2str): s/long/clen_t/ (ex_ftpdir_name_size_date): s/long/clen_t/ * indep.c (strtoclen): added * indep.h (strtoclen): added * proto.h (showProgress): s/int/clen_t/ From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 03057] Re: Bug#134350: w3m: Forgets (http auth) login information ↵Fumitoshi UKAI2002-02-191-3/+3
| | | | | | | | | | | | | | | | | | | | | | | upon reload (or almost anything else) * etc.c (find_auth): add `file' check file as well * etc.c (find_auth_cookie): add `file' * etc.c (add_auth_cookie): add `file' * file.c (AuthBasicCred): add "Basic " * file.c (AuthDigestCred): add "Digest " * file.c (getAuthCookie): if h_auth == NULL, get recorded cookie * file.c (get_auth_cookie): get recorded cookie * file.c (loadGeneralFile): don't clear add_auth_cookie_flag by redirection add_auth_cookie if authorization is required and passed * fm.h (auth_cookie): add file * ftp.c (openFTP): follow change auth_cookie * proto.h (get_auth_cookie): added * proto.h (find_auth_cookie): add `file' * proto.h (add_auth_cookie): add `file' * url.c (openURL): get_auth_cookie From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02822] Print FTP directory list for -dump_extra optionFumitoshi UKAI2002-01-111-12/+23
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02732] fix Debian Bug#126381 - Passwords entered for HTTPS are used ↵Fumitoshi UKAI2001-12-251-3/+3
| | | | | | for HTTP From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
* [w3m-dev 02586] code cleanup againFumitoshi UKAI2001-11-291-43/+43
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02584] code cleanup againFumitoshi UKAI2001-11-291-5/+5
| | | | From: Fumitoshi UKAI <ukai@debian.or.jp>
* run make indentFumitoshi UKAI2001-11-241-38/+38
|
* add ftppass_hostnamegenFumitoshi UKAI2001-11-231-2/+2
|
* add rcsidsFumitoshi UKAI2001-11-201-0/+1
|
* remove gcc warningsFumitoshi UKAI2001-11-201-54/+0
|
* Updates from 0.2.1 into 0.2.1-inu-1.5release-0-2-1-inu-1-5Akinori Ito2001-11-091-22/+52
|
* Initial revisionAkinori Ito2001-11-081-0/+871