Ftp transfer

Hi there

I have this context:

exten => .,50,SetVar(FileName=${CALLERID}${EXTEN}_${TIMESTAMP})
exten => _.,51,SetVar(pathname=/var/www/html/recordings/recordacall/)
exten => _.,52,Monitor(wav,${pathname}${FileName},m)
exten => _.,53,Macro(dialout-trunk,2,${EXTEN},)
exten => _.,54,StopMonitor( )

How do I transfer the wave file to another server via ftp ?

Any help is appriciated

Dayadk

make a priority with soemthing like

System(cmd/to/ftp/upload args ${pathname}${FileName})

could do it with a shell script or a macro for FTP…