Usage Note 22770: Transferring a stream file using the FTP access method
To transfer a stream file, such as a binary ZIP file, using the FTP access method, you must submit the following code:
filename rmt ftp 'path_filename' recfm=s host='value' user='value' prompt;
filename lcl path_filename';
data _null_;
n=-1;
infile rmt nbyte=n;
input;
file lcl recfm=n;
put _infile_;
run;
Replace value in the example above with your site-specific information.
Note that the local FILENAME and the remote FILENAME statements must use the FTP access method. This means that both the local file and the remote file must be on a system where an FTP server is running.
Operating System and Release Information
SAS System | Base SAS | All | n/a | |
Windows | n/a | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Usage Note |
Priority: | low |
Topic: | Data Management ==> Administration ==> Migration
|
Date Modified: | 2008-01-04 10:56:48 |
Date Created: | 2002-12-16 10:56:50 |