1.\" Copyright (c) 1996 Jordan Hubbard (jkh@FreeBSD.org) 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 8 unchanged lines hidden (view full) --- 17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23.\" SUCH DAMAGE. 24.\" |
25.\" $FreeBSD: head/lib/libftpio/ftpio.3 57686 2000-03-02 09:14:21Z sheldonh $ |
26.\" 27.Dd June 17, 1996 28.Dt FTPIO 3 29.Os 30.Sh NAME 31.Nm ftpLogin , 32.Nm ftpChdir , 33.Nm ftpErrno , --- 47 unchanged lines hidden (view full) --- 81.Fa passwd, 82.Fa ftp_port 83(if passed as 0, 84.Fa ftp_port 85defaults to the standard ftp port of 21) and 86.Fa verbose 87fields. If it is successful, a 88standard stream descriptor is returned which should be passed to |
89subsequent FTP operations. 90On failure, NULL is returned and |
91.Fa retcode 92will have the error code returned by the foreign server. 93.Pp 94.Fn ftpChdir 95attempts to issue a server CD command to the directory named in 96.Fa dir. 97On success, zero is returned. On failure, the error code from the server. 98.Pp --- 115 unchanged lines hidden --- |