![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I am having trouble executing command line to transfer files via an SFTP server from a call in T-SQL (version 2005) where putty is the client application. The solution has to be able to work on SQLExpress and needs to be backwards compatible to SQL 2000, so I'm not sure if SSIS is even a viable option for me. The command executes perfectly in dos prompt, but in MSSQL it just hangs on the connection command and never makes the connection. |
#3
| |||
| |||
|
|
DennBen (dbenedett (AT) hotmail (DOT) com) writes: I am having trouble executing command line to transfer files via an SFTP server from a call in T-SQL (version 2005) where putty is the client application. The solution has to be able to work on SQLExpress and needs to be backwards compatible to SQL 2000, so I'm not sure if SSIS is even a viable option for me. The command executes perfectly in dos prompt, but in MSSQL it just hangs on the connection command and never makes the connection. I would guess that it's waiting for user input. I hope this is a command-line utility? If it's try to open a window of any sort, it's not going to work out well at all. -- Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se Links for SQL Server Books Online: SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx |
#4
| |||
| |||
|
#5
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |