Develop and Download Open Source Software
Login
Create Account
Help
MY OSDN
Find Software
Magazine
Develop
Pastebin
Software
People
PersonalForge
Magazine
Wiki
OSDN
>
Find Software
>
libOftp
libOftp
Summary
Project Summary
Developer Dashboard
Project Reviews
Web Page
Developers
List of RSS Feeds
Statistics
History
Image Gallery
Search Keywords
News
Listed News
Help
Downloads
List of Releases
Help
Source Code
Guide
Browse SVN
Help
Wiki
FrontPage
Title index
Recent changes
Wiki Search
Help
Forums
List of Forums
Open Discussion (1)
Help (1)
Developers (1)
Help
Mailing Lists
list of ML
Help
Ticket
Ticket List
Milestone List
Type List
Component List
List of frequently used tickets/RSS
Submit New Ticket
Help
Browse Subversion Repository
/
[liboftp]
/
trunk
/
ftp_put_buffer.c
Diff of /trunk/ftp_put_buffer.c
Parent Directory
|
Revision Log
|
Patch
revision
17
by
hirohitohigashi
, Wed Feb 25 13:47:38 2009 UTC
revision
20
by
hirohitohigashi
, Fri Feb 27 11:30:10 2009 UTC
#
Line 54
int ftp_put_buffer( LIBOFTP *ftp, const
Line 54
int ftp_put_buffer( LIBOFTP *ftp, const
54
*/
*/
55
if( ftp->flag_passive ) {
if( ftp->flag_passive ) {
56
data_socket = ftp_getready_pasv( ftp, fname, "STOR" );
data_socket = ftp_getready_pasv( ftp, fname, "STOR" );
if( data_socket < 0 ) {
return -1; /* XXX: mixed os level error and ftp protocol error. */
}
57
} else {
} else {
58
return -2; /* XXX: active mode not ready yet. */
data_socket = ftp_getready_active( ftp, fname, "STOR" );
59
}
60
if( data_socket < 0 ) {
61
return data_socket;
62
}
}
63
64
/*
/*
Colored Diff
Long Colored Diff
Full Colored Diff
Unidiff
Context Diff
Side by Side
Legend:
Removed from v.17
changed lines
Added in v.20
Back to OSDN
">
Back to OSDN
ViewVC Help
Powered by
ViewVC 1.1.26