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

## ftp-transfer-file

Arguments: &key from-host from-port from-file (from-user "anonymous") (from-password "acl@franz.lisp") to-host to-port to-file (to-user "anonymous") (to-password "acl@franz.lisp") (mode :binary) debug

This function transfers the file from-file from from-port on the from-host machine to to-file via the to-port on the to-host machine. (from-port and to-port have standard defaults and it is typical not to provide values for them. The arguments are there to allow specification of servers on non-default ports.) The files on the different machines can have different names. Users and passwords should be strings.

mode can be `:binary` (the default), or `:text`. `:text` mode lines end with cr-lf (the internet standard).

If debug is a stream (or t) is given, this function will print the ftp interaction to that stream.

Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version