| Next revision | Previous revision |
| bw2:ftp_and_bizweaver [2020/12/15 18:53] – created akoehler | bw2:ftp_and_bizweaver [2024/01/09 14:34] (current) – [Sample Command File] wgates |
|---|
| ===== FTP and Bizweaver ===== | ===== FTP and Bizweaver ===== |
| By design, Bizweaver does not include its own FTP functionality. Instead it uses the WF_Exec tool to call any FTP application that supports a command-line interface. The most common application used by Third Wave is winSCP (https://winSCP.net). We have found that winSCP offers all the functionality that is typically required. This page describes how to use winSCP with Bizweaver. | By design, Bizweaver does not include its own FTP functionality. Instead it uses the Execute tool to call any FTP application that supports a command-line interface. The most common application used by Third Wave is winSCP (https://winSCP.net). We have found that winSCP offers all the functionality that is typically required. This page describes how to use winSCP with Bizweaver. |
| |
| ==== Basic Process ==== | ==== Basic Process ==== |
| winSCP is initiated from Bizweaver using the WF_Exec tool. This tool calls a Windows batch (.bat) file. The batch file then calls a text file (.txt) that contains the information needed to execute winSCP. Sample scripts are provided below. The scripts can be downloaded or copied and pasted into a local file. | winSCP is initiated from Bizweaver using the Execute tool. This tool calls a Windows batch (.bat) file. The batch file then calls a text file (.txt) that contains the information needed to execute winSCP. Sample scripts are provided below. The scripts can be downloaded or copied and pasted into a local file. |
| |
| ==== Sample Batch File ==== | ==== Sample Batch File ==== |
| |
| ==== Sample Command File ==== | ==== Sample Command File ==== |
| The sample file provided below a command file. Lines that begin with # are comments. Lines with ## are the actual command. If you chose to use this file as a starting point, remove the ## to include the command. | The sample file provided below is a command file. Lines that begin with # are comments. Lines with ## are the actual command. If you chose to use this file as a starting point, remove the ## to include the command. |
| |
| <file bat winSCP_Command.txt># Automatically abort script on errors | <file bat winSCP_Command.txt># Automatically abort script on errors |
| # The option does not necessarily need to be used. | # The option does not necessarily need to be used. |
| # The target folder may need to be changed | # The target folder may need to be changed |
| ## get -delete *.csv C:\ProgramData\Bizweaver\FTP_In | ## get -delete *.csv C:\ProgramData\Bizweaver\FTP_In\ |
| # | # |
| # Upload the file to current working remote folder | # Upload the file to current working remote folder |