Descargar
Desarrollar
Cuenta
Descargar
Desarrollar
Entrar
Forgot Account/Password
Crear Cuenta
Idioma
Ayuda
Idioma
Ayuda
×
Entrar
Nombre de usuario
Contraseña
×
Forgot Account/Password
Translation Status of Español
Categoría:
Software
Gente
PersonalForge
Magazine
Wiki
Buscar
OSDN
>
Buscar Software
>
Internet
>
File Transfer Protocol (FTP)
>
libOftp
>
Howto
libOftp
Descripción
Project Summary
Developer Dashboard
Página Web
Developers
Image Gallery
List of RSS Feeds
Activity
Statistics
Historial
Descargas
List of Releases
Stats
Código Fuente
Code Repository list
Subversion
Ver Repositorio
Incidencia
Ticket List
Milestone List
Type List
Component List
List of frequently used tickets/RSS
Submit New Ticket
Documents
FrontPage
Title index
Recent changes
Communication
Foros
List of Forums
Developers (1)
Ayuda (1)
Open Discussion (1)
Mailing Lists
list of ML
Noticias
How to use libOftp
基本的な使い方
サーバーから、ファイル(test.txt)を取得する例
#include "liboftp.h"
LIBOFTP ftp;
ftp_initialize( &ftp );
ftp_open( &ftp, "HOSTNAME", 0 );
ftp_user( &ftp, "USERNAME", "PASSWORD" );
ftp_get_file( &ftp, "test.txt", "test.txt" );
ftp_quit( &ftp );
基本的にコマンドライン版 ftp を使うときのコマンドと同じセマンティクスで関数をコールすることで、使えるように設計してあります。
リリースファイルのexampleディレクトリの中に、もう少し複雑なサンプルがあります。
htmlディレクトリの中に、各関数のマニュアルがあります。
Download File List
Wiki