while (my $command = $ftpgizmo->next_ftp_command ) { print OUT "${command}\n"; } #### cd $FTPPath or type ${TransferMode} #### cd /my/ftp/path or type ASCII