Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 FTP from Sql server

Author  Topic 

cbeganesh
Posting Yak Master

105 Posts

Posted - 2004-12-20 : 14:22:38
Im calling FTp from T-sql, Im not getting the failure status if the ftp bombs. Is there any way when we shell to DOS and do a FTp we get a status back
Thanks
Ganesh

nr
SQLTeam MVY

12543 Posts

Posted - 2004-12-20 : 15:38:11
I always get a directory listing afterwards to see if the file has transferred not foolproof but better than nothing.
see
http://www.nigelrivett.net/s_ftp_PutFile.html
http://www.nigelrivett.net/s_ftp_GetDir.html

==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page

cbeganesh
Posting Yak Master

105 Posts

Posted - 2004-12-21 : 13:36:53
Thanks for the information. I was hoping if we can get any error status back from ftp to sql server. Thanks anyway
Go to Top of Page
   

- Advertisement -