<<prev file | next file >>    view single page | view frames    summary: fields | routine    details: routine

ToBeReviewed/LECTURE/

read_ftp.pro

Routine summary

ftp_post, u, cmd, res, out=out, count=count

READ_FTP Syntax: READ_FTP, remote_host [, files] [, directory] [,/FILE] [,DATA=variable] [,USER=string] [,PASS=string] [,/PTR] Arguments remote_host - Name of the remote host (ftp server) that you want to connect to, or a complete ftp location such as for example: ftp://ftp.

ftp_parse_pasv, text, host, port

read_ftp, site, files, dir, port, data=data, file=file, user=user, pass=pass, ptr=ptr

topftp_post

ftp_post, u, cmd, res, out=out, count=count

READ_FTP Syntax: READ_FTP, remote_host [, files] [, directory] [,/FILE] [,DATA=variable] [,USER=string] [,PASS=string] [,/PTR] Arguments remote_host - Name of the remote host (ftp server) that you want to connect to, or a complete ftp location such as for example: ftp://ftp.rsinc.com/pub/gzip/README.GZIP directory - Remote directory where the files reside on the ftp server files - A single filename or an array of filenames to be retrieved. Keywords FILE - Set this keyword to make a local copy of the file to be transferred. The local file will have the same name as the remote file and will be placed in the current working directory. DATA - Set this to a named variable that will contain either a byte array or an array of pointers to byte arrays with the transferred data. If there is more than one file, an array of pointers is returned, one for each file. Note that when downloading large files using /FILE instead will require much less memory since the entire file is not stored in a variable in that case. PTR - Set this keyword to return an array of pointers even when there is only one file. USER - Specify user name to connect to server with. Default is: anonymous. PASS - Specify password to use when connecting. Default is:

Parameters

u       

cmd       

res       

Keywords

out       

count       

topftp_parse_pasv

ftp_parse_pasv, text, host, port

Parameters

text       

host       

port       

topread_ftp

read_ftp, site, files, dir, port, data=data, file=file, user=user, pass=pass, ptr=ptr

Parameters

site       

files       

dir       

port       

Keywords

data       

file       

user       

pass       

ptr       

Produced by IDLdoc 2.0.