Function | Package: socket | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version

## open-ftp-stream

Arguments: file &key (host "localhost") (user "anonymous") (password (format nil "~a@somewhere.com" (system:user-name))) (direction :input) debug (mode :binary) passive

This function creates a stream to/from the given file on the given host using the given user and password for authentication.

The keyword arguments are:

- host: name of remote host.
- user: name of user to log in as.
- password: password to use.
- direction: `:input` (the default), `:output`, or `:directory`. `:directory` returns an input stream containing a directory listing.
- debug: if a stream (or t) is given, this function will print the ftp interaction to that stream.
- mode: `:binary` (the default), or `:text`. `:text` mode lines end with cr-lf (the internet standard).
- passive: if t then do a passive mode transfer (useful to get through certain ip filters and firewalls).

Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version