Difference between revisions of "Freeside:3:Documentation:Developer/bin/freeside-aradial-sftp and import"

From Freeside
Jump to: navigation, search
(Edit via perl MediaWiki framework (1.13))
 
(No difference)

Latest revision as of 10:14, 10 April 2015

NAME

freeside-aradial-sftp_and_import - Download Aradial "CDR" (really RADIUS detail) files from a remote server via SFTP

SYNOPSIS

 aradial-sftp_and_import [ -m method ] [ -a ] [ -b ]
   [ -r remotefolder ] [ -d donefolder ] [ -v level ] [ -P port ]
   user [sftpuser@]servername dbi_datasrc dbi_username dbi_pass

DESCRIPTION

Command line tool to download CDR files from a remote server via SFTP or FTP and then import them into the database.

-m: transfer method (sftp or ftp), defaults to sftp

-a: use ftp passive mode

-b: use ftp binary mode

-r: if specified, changes into this remote folder before starting

-d: if specified, moves files to the specified folder when done

-P: if specified, sets the port to use

-v: set verbosity level; this script only has one level, but it will be passed as the 'debug' argument to the transport method

user: freeside username

[sftpuser@]servername: remote server (or ftpuser:ftppass@servername)

BUGS

SEE ALSO

FS::cdr