Send Files Via FTP Using a Stored Procedure

>>Script Language and Platform: SQL Server 2000
This script will use xp_cmdshell and the DOS FTP commands to send a local (or network) file to a remote FTP site. It can use either a URL or an IP Address as its destination. This script should be able to use wildcards in file names, but this has not been tested. A trusted connection may be an option, but this also has not been tested.

Be careful when you display passwords in your scripts!

Author: Pat Johnson

Download Script:

Disclaimer: We hope that the information on these script pages is valuable to you. Your use of the information contained in these pages, however, is at your sole risk. All information on these pages is provided “as -is”, without any warranty, whether express or implied, of its accuracy, completeness, or fitness for a particular purpose… Disclaimer Continued

Back to Database Journal Home

Latest Articles