GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
FTPIO(3) FreeBSD Library Functions Manual FTPIO(3)

ftpLogin, ftpChdir, ftpErrno, ftpGetModtime, ftpGetSize, ftpGet, ftpPut, ftpBinary, ftpPassive, ftpVerbose, ftpGetURL, ftpPutURL, ftpLoginAf, ftpGetURLAf, ftpPutURLAf
FTPIO ?桼???饤?֥???

<ftpio.h> FILE * ftpLogin(char *host, char *user, char *passwd, int ftp_port, int verbose, int *retcode) int ftpChdir(FILE *stream, char *dirname) int ftpErrno(FILE *stream) const char * ftpErrString(int errno) time_t ftpGetModtime(FILE *stream, char *file) off_t ftpGetSize(FILE *stream, char *file) FILE * ftpGet(FILE *stream, char *file, off_t *seekto) FILE * ftpPut(FILE *stream, char *file) int ftpAscii(FILE *stream) int ftpBinary(FILE *stream) int ftpPassive(FILE *stream, int status) void ftpVerbose(FILE *stream, int status) FILE * ftpGetURL(char *url, char *user, char *passwd, int *retcode) FILE * ftpPutURL(char *url, char *user, char *passwd, int *retcode) FILE * ftpLoginAf(char *host, int af, char *user, char *passwd, int ftp_port, int verbose, int *retcode) FILE * ftpGetURLAf(char *url, int af, char *user, char *passwd, int *retcode) FILE * ftpPutURLAf(char *url, int af, char *user, char *passwd, int *retcode)

???δؿ??ϡ?FTP ???ͥ????????????????뤿???? ?????٥??ʥ饤?֥????????????ޤ???

ftpLogin() ?ϡ????ꤵ?줿 user, passwd, ftp_port (0 ???Ϥ??????硢ɸ?? FTP ?ݡ??Ȥ? 21 ???ǥե????Ȥ? ftp_port ?ˤʤ?), verbose ?ե??????ɤ? ???Ѥ??ƥ??????󤷤褦?Ȥ??ޤ??????????????????????С?ɸ??Ū?? ???ȥ꡼?൭?һҤ??֤????ޤ??????ε??һҤϡ????? FTP ???ڥ졼???????? ?Ϥ??Ƥ????????????顼??ȯ???????????? NULL ???֤??졢 retcode ?ˤϡ??????????Ф??֤????顼?????ɤ??????ޤ???

ftpChdir() ?ϡ??????Ф? CD ???ޥ??ɤ??Ф??? dir ?ǻ??ꤵ?줿 ?ǥ??쥯?ȥ????ѹ????褦?Ȥ??ޤ??????꤬?ʤ????? 0 ???֤????ޤ??? ???꤬?????????ϡ??????ФΥ??顼?????ɤ??֤????ޤ???

ftpErrno() ?ϡ??Ǹ??Υ??ڥ졼???????Υ????Х??顼?????ɤ??֤??ޤ??? FTP ?Υ??顼?????ɤ????̤??Ƥ????????ϡ????顼?θ????γ?ǧ??ͭ?פǤ??? ftpErrString() ?ϡ??ʹ֤?Ƚ?ɤǤ??륵???Х??顼?????ɤ??֤??ޤ???

ftpGet() ?ϡ? file ?????????ꤹ???ե????????????Ф? (FTP ?????ФΥ??????ȥǥ??쥯?ȥ? ?????????Хѥ??????ꤵ???롣 ftpChdir() ????)?????Υե??????Τ????ο????? FILE* ?ݥ??󥿤??֤??ޤ??? ???顼??ȯ???????????? NULL ???֤??ޤ??? seekto ?? NULL ?ǤϤʤ????硢???줬?ؤ??????????Ƥϡ??ե??????κƳ??ݥ????? ?Ȥ??ƻ??Ѥ????ޤ????Ĥޤꡢ?֤??줿???ȥ꡼???ϡ??ե??????? *seekto ?Х??Ȥ??ؤ??Ƥ????Ȥ??????ȤǤ????????ϡ????顼?Ǽ??Ԥ???ž???? ??ΨŪ?˺Ƴ??????ݤ??????Ǥ???????????????顼?ˤʤä????硢 *seekto ???ͤ? 0 ?ˤʤ??ޤ???

ftpGetModtime() ?ϡ? file ?????????ꤹ???ե??????κǽ??????????? ?֤??ޤ????ե??????򥪡??ץ??Ǥ??ʤ??????? 0 ???֤????ޤ???

ftpGetSize() ?ϡ? file ?????????ꤹ???ե??????Υ????????Х???ñ?̤? ?֤??ޤ????ե??????򥪡??ץ??Ǥ??ʤ??????? -1 ???֤????ޤ???

ftpPut() ?ϡ? file ?????????ꤹ?뿷?????ե????????????? (FTP ?????ФΥ??????ȥǥ??쥯?ȥ꤫???????Хѥ??????ꤵ???롣 ftpChdir() ????)???ե??????ο????? stream ?ݥ??󥿤??֤??ޤ??????顼??ȯ???????????? NULL ???֤??ޤ???

ftpAscii() ?ϡ? stream ?????ꤹ?븽?ԥ????ФΥ??ͥ????????? ASCII ?⡼?ɤ????ꤷ?ޤ???

ftpBinary() ?ϡ? stream ?????ꤹ?븽?ԥ????ФΥ??ͥ????????? ?Х??ʥ??⡼?ɤ????ꤷ?ޤ???

ftpPassive() ?ϡ? stream ?????ꤹ?븽?ߤΥ????ФΥ??ͥ????????Υѥå??֥⡼?? (?ե???????????????)???????? status ?????ꤷ?ޤ???

ftpVerbose() ?ϡ? stream ?????ꤹ?븽?ߤΥ????ФΥ??ͥ????????ξ?Ĺ?⡼?ɤ??????? status ?????ꤷ?ޤ???

ftpGetURL() ?ϡ? URL ?????ꤹ???ե????????????Ф??ޤ????????ϡ? ?????Ф? stream ???֤????ʤ????Ƚ????С? ftpLogin(), ftpChdir(), ftpGet() ???Ȥ߹??碌????????Ʊ???Ȥߤʤ????Ȥ??Ǥ??ޤ??? ?????ФȤΥ??ͥ????????ϡ??ե????뤬???????ɤ߹??ޤ줿?????? ?????????????ޤ???ʣ???Υե????????????Ф??????ϡ??????٥??Υ롼???? ?????Ѥ??Ƥ??????????????????Ϥ뤫?˸?ΨŪ?Ǥ???

ftpPutURL() ?ϡ? URL ?????ꤹ???ե??????????????ޤ????????ϡ? ?????Ф? stream ???֤????ʤ????Ȥ??????С? ftpLogin(), ftpChdir(), ftpPut() ???Ȥ߹??碌????????Ʊ???Ȥߤʤ????Ȥ??Ǥ??ޤ??? ?????ФȤΥ??ͥ????????ϡ??ե????뤬?????˽񤭹??ޤ줿?????? ?????????????ޤ???ʣ???Υե????????????????????ϡ??????٥??Υ롼???? ?????Ѥ??Ƥ??????????????????Ϥ뤫?˸?ΨŪ?Ǥ???

ftpLoginAf(), ftpGetURLAf(), ftpPutURLAf() ?ϡ? ftpLogin(), ftpGetURL(), ftpPutURL() ??Ʊ?ͤǤ????????ɥ쥹?ե??ߥ? except that they are able to specify address family af ????????ǽ???????ۤʤ??ޤ???

FTP ??³???۾ェλ?????????ˡ??̿????꤫???α??????Ԥĺ??????? (??ñ??) ?Ǥ???
?????????Ƥ??????硢?ѥå??֥⡼?? FTP ??????Ū?˻??Ѥ??ޤ??? ?????? ``NO'' ?ޤ??? ``no'' ???????????Ƥ????????ϡ? ?????ƥ??֥⡼?ɤ?????Ū?˻??Ѥ??ޤ??? ?????????Ƥ??????硢?????ѿ????????ϡ? ftpPassive() ?θƤӽФ???ͥ?褷?ޤ???

?????Ĥ?Ű??Ū?˻Ȥ??????ȡ????????֥ޥ????????𤵤??Ƥ??ޤ???ǽ???? ?????ޤ??????䤬?ƥ??Ȥ????¤??Ǥϡ??????˾??פ˺??????Ƥ??뤳?Ȥ? ?Τ????Ƥ????ޤ???

Poul-Henning Kamp ?Υ????ƥ।?󥹥ȥ졼???????桼?ƥ????ƥ??? ftp ?ɥ饤?ФȤ??ƻϤޤꡢJordan Hubbard ????stdio ?γ?ĥ?Ȥ??? ????????Ū?ʷ??????ѹ????ޤ????? Jean-Marc Zucconi ?Υ????ǥ??ȳ?ĥ??ǽ?⤤???Ĥ????????ޤ??Ƥ??ޤ???

Jordan Hubbard, Poul-Henning Kamp, Jean-Marc Zucconi
June 17, 1996 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.