What is the commands for SQL server job to ftp file to remote server?

I created the job to bcp data out and create file on file system. after that, I need to ftp the file over to another box. how can I do it from sql server job?
JulieShop

I would like to suggest a SSIS package with a
FTP Task instead.
Olaf Helper
[ Blog] [ Xing] [ MVP]

Similar Messages

  • What is the process for SQL Server 2005 patch update

    hi,
    i have 2 production SQL Server2005  Database servers in cluster ,
    what is the process for applying patches.
    Saidireddy

    In 2005 you can do it in two ways...
    Method 1 :
    With SQL Server 2005,
    when you start installing cluster service pack (or hotfix), it must be launched on the active node(node
    that hosts the instance). When installing the Setup will launch simultaneously  "remote silence" on all passive nodes. All nodes in the cluster containing the SQL Server instance are updated in the same time.
    Method 2: First you can install in passive node then you can install in the active node, In this way you can save your down time ( If you start in the active node it will check in the passive, and if its installed already then it skips that
    and start applying in the active node ), but most of the DBA's follows only first method because they may not aware of this or just they follows Microsoft common method. 
    SQL 2008 and Later....
    1.  Apply the hotfix on pasive node N2
    2.  Reboot the passive node N2
    3.  Failover on SQL resource : the passive node become the active node
    4.  Apply the hotfix on the passive node N1
    5.  Reboot the passive node N1
    Raju Rasagounder Sr MSSQL DBA

  • What would be the reason for sql server agent [MSSQLSERVER] service terminated unexpectedly?

    What would be the reason for sql server agent [MSSQLSERVER] service terminated unexpectedly?
    only below details found in error log
    07:26:44.170 spid60      
    FILESTREAM: effective level = 3, configured level = 3, file system access share name = 'MSSQLSERVER'.
    07:26:45.720 spid51      
    Configuration option 'Agent XPs' changed from 0 to 1. Run the RECONFIGURE statement to install.
    07:26:45.730 spid51      
    FILESTREAM: effective level = 3, configured level = 3, file system access share name = 'MSSQLSERVER'.
    07:28:57.840 spid64      
    Configuration option 'Agent XPs' changed from 1 to 0. Run the RECONFIGURE statement to install.
    07:28:57.840 spid64      
    FILESTREAM: effective level = 3, configured level = 3, file system access share name = 'MSSQLSERVER'.
    and below error on agent log
    2014-01-01 07:26:28 - ? [131] SQLSERVERAGENT service stopping due to a stop request from a user, process, or the OS...
    2014-01-01 07:26:43 - + [188] Scheduler engine timed out (after 15 seconds) waiting for 1 jobs(s) to stop
    2014-01-01 07:26:44 - + [098] SQLServerAgent terminated (forcefully)
    Rahul

    What would be the reason for sql server agent [MSSQLSERVER] service terminated unexpectedly?
    only below details found in error log
    07:26:44.170 spid60      
    FILESTREAM: effective level = 3, configured level = 3, file system access share name = 'MSSQLSERVER'.
    07:26:45.720 spid51      
    Configuration option 'Agent XPs' changed from 0 to 1. Run the RECONFIGURE statement to install.
    07:26:45.730 spid51      
    FILESTREAM: effective level = 3, configured level = 3, file system access share name = 'MSSQLSERVER'.
    07:28:57.840 spid64      
    Configuration option 'Agent XPs' changed from 1 to 0. Run the RECONFIGURE statement to install.
    07:28:57.840 spid64      
    FILESTREAM: effective level = 3, configured level = 3, file system access share name = 'MSSQLSERVER'.
    and below error on agent log
    2014-01-01 07:26:28 - ? [131] SQLSERVERAGENT service stopping due to a stop request from a user, process, or the OS...
    2014-01-01 07:26:43 - + [188] Scheduler engine timed out (after 15 seconds) waiting for 1 jobs(s) to stop
    2014-01-01 07:26:44 - + [098] SQLServerAgent terminated (forcefully)
    Rahul
    Can you post the output of below query
    select @@version.
    If you are using SQl server express edition ,SQL server agent feature is not available.It seems from errorlog that you can start it but actually you cannot.But first confirm what is version and edition of your SQL server
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • What is the difference between SQL Server 2012 R2 & SQL Server 2014

    Hi all,
     I am using SQL Server from last 3 years. I started SQL Server 2008 R2. Now I am using SQL Server 2012. I want to change my development environment to SQL Server 2012 R2. But suddenly I saw that SQL Server 2014 is released. I want to know what are the
    differences between SQL Server 2012 R2 & SQL Server 2014. Are both those are the same or different products?
    I searched through the Internet but I didn't find any article regarding that. So could someone help me to solve this matter?
    Thanks,
    Regards,
    Chiranthaka

    differences between SQL Server 2012 R2 & SQL Server 2014.
    We don't have a Version "SQL Server 2012 R2", only 2005, 2008, 2008R2, 2012 and 2014.
    See MSDN What's New in SQL Server 2014
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • What is the command for secure remote copy ?

    What is the command for sucure remote copy ?
    The remote copy is rcp, but it is not secure or is it?

    Andy of course is spot on.
    scp -p /my/local/file [email protected]:/otherpath/to/remote/file
    Will use ssh to securely copy a file if ssh is enabled on the remote "othermac"
    rsync -e ssh is much more powerful, but in many cases scp is the best due to simplicity.

  • What is the command for return to a previous page in java

    Hi,
    I need to customize a OK button that return to a previous page instead of forwarding other page? The best way is to extend the CO class? If yes, what is the command to do so please.
    Thanks,
    CY

    Hi CY,
    In which ever pages you are calling this page, extend controller of those pages and in PFR of that controller give the following code
    String s4 = pageContext.getCurrentUrlForRedirect();
    pageContext.putSessionValue("previousPageUrl", s4);
    then in your second page you can call this session variable by
    pageContext.getSessionValue("previousPageUrl");
    use this session value for page redirect.
    Reagrds
    jyothi

  • What is the command for getting a screen back that disappears?

    How do I get my working screen page back when it disappears to the right from a feather like touch on the mouse?
    I do not know why it disappears or how to get it back. Please let me know what is the command?

    I think I found it. It is within the gestures commands.

  • How to Pick the data for SQL Server to Xcelsius

    Hi all,
    I am trying to create a dashboard Sales Analysis through Xcelsius in my system, but the toal data is in the SQL Server, Is't any possibility to pick the data directly from SQL server. How to connect thr templet to live data.
    Could someone please explain to me.
    Regards,
    KiranKumar.A

    XCELSIUS DYNAMIC DATA SOURCE
    Dynamic datasources for Xcelsius

  • Upgrade the Edition for SQL Server 2012

    Hi All,
    After spending 3hrs on the phone to MS in India I'm trying here as a last resort!
    I'm trying to upgarde my SQL server 2012 Developer version from Evaluation to a full copy. I've been told that my Product key (Note I do not have a Product ID) is legit from the front line support.
    However when I run hte SQL Server Installation Center (as an Administrator) I go to the following:
    Maintenance
    Edition upgrade
    Pass first validation
    Then enter in the Product Key and I get the following back in SQL:
    "There are validation errors on this page. Click OK to Close this dialog box. Review Errors at the bottom of the setup page, then provide valid parameters or click help for more information".
    I can only click on OK and then I'm left with either Next (same thing happens) or Cancel (which halts the full installation) finally help (which is useless).
    Any help and ideas greatly appreciated!!!
    Gavin

    Hello,
    Make sure the product language of the SQL Server 2012 Developer Edition is the same of the Evaluation Edition you have
    installed. If they have different product language, you may receive the "There are validation errors on this page" error message. 
    For more information, please read the following resource:
    http://www.sqlcoffee.com/Troubleshooting104.htm
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • What are the commands for compiling c++ using the command line tools for xcode?

    Hi, I am taking a class in school for c++ and i would like ot be able to practice at home i found the command line tools for xcode and went ahead and installed it on my computer. now i need to know the commands and procedure to be able to compile and run c++.

    c++ testfile.cc

  • What is the command for Defragging?

    I was told that my system probably needs to be defragged. I heard that there is a Key Command for that action. Something like Com>Control>D>F. Not sure though, so does anyone know what it is?
    eMac   Mac OS X (10.3.9)  

    Take a look at this Apple document.
    2.0GHz MacBook, 15" 1.25GHz/12" 1GHz PBs, 2xPPC Mac minis, 12" iBook G4,   Mac OS X (10.4.8)   Cube, 2xTAMs, iPod 4G & nano 2G, 1G & 2G iPs, AEBS, AX

  • HRCS 9.0 : What are the commands to finish creating Views in Script file ?

    Folks,
    Hello. I am setting up HRCS 9.0 Database. There is only one thing not completed that is creating Views. The last message in the file "views.log" is as follows:
    Views remaining: 1531
    Creating view: SAD_UC_APPLVW
    I have checked SQL Server HRCS database to confirm SAD_UC_APPLVW is not created.
    In order to finish creating views, I add the line "SET START SAD_UC_APPLVW;" before the line "REPLACE_VIEW*;" in the Database setup script file as follows:
    SET START SAD_UC_APPLVW;
    REPLACE_VIEW*;
    I run the script to execute only this action. Data Mover comes up this message:"Successful completion. Script completed."
    But I check SQL Server HRCS database, the remaining 1531 views are not created. Thus, I have 2 questions:
    First, is the command "SET START SAD_UC_APPLVW;" correct ?
    Second, how to finish creating the remaining 1531 views in the Script file ?

    Try SET START AFTER SAD_UC_APPLVW. I assume, there is some problem with just that one specific view. Once, other views are created you should be able to troubleshoot just that one view. Also try doing this in bootstrap mode, that will try to create all the views or 'SET IGNORE ERROR' before replace_view
    Let me know if that works.
    Regards,
    RK

  • Ok, what's the "secret" for setting server side environmentvaria bles

    Subject says it all.
    We have a bunch of environment variables that are used by the server side
    objects. What I want to do is change the value of some of the variables
    prior to running my application in Forte Development IDE (3.0.G.2). I've
    tried to set the environment variables via NT's registry, but it appears
    that at execution time the variables take on the value of whatever they are
    for the node manager.
    Most IDE's I've worked with before have a way to specify environment
    variables right in the tool. Forte doesn't appear to have that capability -
    say it ain't so!
    Any clues?

    Subject says it all.
    We have a bunch of environment variables that are used by the server side
    objects. What I want to do is change the value of some of the variables
    prior to running my application in Forte Development IDE (3.0.G.2). I've
    tried to set the environment variables via NT's registry, but it appears
    that at execution time the variables take on the value of whatever they are
    for the node manager.
    Most IDE's I've worked with before have a way to specify environment
    variables right in the tool. Forte doesn't appear to have that capability -
    say it ain't so!
    Any clues?

  • What's the scope of SQL server settings?

    Suppose I do something like SET Ansi Warnings ON.  Is this setting only for the current SP? Or is it global to all SPs in the current database? Is it global to all databases in the entire instance?
    And how does it apply to a series of batches?  If the setting is turned ON for one batch in the set, does it remain on for the rest of the batches?
    Understand I'm not asking this merely in regard to Ansi Warnings but for ALL settings. Or maybe someone can point me to a chart which covers all this?

    Please refer the section Considerations...:
    http://technet.microsoft.com/en-us/library/ms190356.aspx

  • What's the code for applying CSS to an XML file, in a dynamic text feild

    Hi all,
    Very simply put, just like in the title.
    If you have a CSS ready, an XML file that already appears
    inside a dynamic text field, what AS2 code would you use to connect
    the CSS so it applies to the XML file which is now unstyled?
    thanks!!!

    ...sorry for thaking a while to get back to you. I pluged the
    code you provided and the exported flash does not deplay the text.
    instead it says "undefined" which to me means something in the xml
    files is work, which is strage since I tested the xml file in a
    browser and it works find. so i am providing both the AS code
    (below) and the xml and css file (attached). my hope is that you
    can direct me to what the problem is.
    THANK YOU AGAING FOR ALL YOU HELP!!!
    AS code:
    Scrolling Text XML by Digital Science |
    www.digitalscience.za.org
    /////////////Load XML Data/////////////
    function loadXML(loaded) {
    if (loaded) {
    xmlNode = this.firstChild;
    header = [];
    txt = [];
    total = xmlNode.childNodes.length;
    for (i=0; i<total; i++) {
    header
    = xmlNode.childNodes.childNodes[0].firstChild.nodeValue;
    txt
    = xmlNode.childNodes.childNodes[1].firstChild.nodeValue;
    gotoAndStop(11);
    } else {
    errorMsg.text = "Error loading XML";
    xmlData = new XML();
    xmlData.ignoreWhite = true;
    xmlData.onLoad = loadXML;
    xmlData.load("member_content_test.xml");
    stop();
    import TextField.StyleSheet;
    var ss:StyleSheet = new StyleSheet();
    ss.onLoad = function() {
    txt_mc.styleSheet=this; // where yourTF is your textfield
    ss.load("jokes.css"); // where yourSS.css is your css file.

Maybe you are looking for

  • Boot Camp is no longer bootable after tech tool pro.

    Really need som guidance today! A few days ago i created an eDrive with techtool pro, honestly I don't know why I even did this my computer was running fine...curiousity I guess. I booted in to the eDrive and ran a volume optimization on my mac os 10

  • Motion Menu Transition Problems

    I have seen motion menus where the buttons will animate on the screen while objects are animating in the background like pics/vids and then the buttons will become clickable. I have been taught that to animate buttons I need to make an AE comp, bring

  • Revenue Planning to cost elements

    Hi, I am Working on Project system object. When i am trying  planned revenue is added on the project, I need to find if there is a way to assign the revenue amount on the lowest WBS to a cost element. This is required for revenue amounts to appear in

  • Database structure for Oracle to use with SMP 3.0

    Hi, We are planning to use Custom Database for SMP 3.0. Please help me with the Database Structure I need to create in Oracle DB instance to use with SMP 3.0. Additional Details: SMP Version: 3.0 Service Pack Level: SP 03 Server OS: Windows Server 20

  • Two quick AIR(AJAX) questions.

    I've been working on developing an AIR interface for a web app that I've also been developing. It is necessary for my AIR app to minimize to the system tray (on Windows) so it's out of the way. I already have that functionality in place, however, I a