Read a file from FTP directly

  • Hi,

    I have some excel files stored in a FTP folder. I want to transfer data from these excel files to my sql table directly from FTP without downloading it to my system.

    I tried FTP task however it downloads the data from the FTP, which I dont want.

    Can anyone provide me the help on how to read a file directly from FTP and import it to sql using data flow task?

  • karthik82.vk (8/19/2015)


    Hi,

    I have some excel files stored in a FTP folder. I want to transfer data from these excel files to my sql table directly from FTP without downloading it to my system.

    I tried FTP task however it downloads the data from the FTP, which I dont want.

    Can anyone provide me the help on how to read a file directly from FTP and import it to sql using data flow task?

    Not possible, as far as I know. Unless you have some other way of accessing these files across a network.

    The absence of evidence is not evidence of absence
    - Martin Rees
    The absence of consumable DDL, sample data and desired results is, however, evidence of the absence of my response
    - Phil Parkin

  • Hi

    Thanks for the reply.

    SO i need to download it from ftp and then only i have to read it right.

  • karthik82.vk (8/19/2015)


    Hi

    Thanks for the reply.

    SO i need to download it from ftp and then only i have to read it right.

    As far as I know.

    The absence of evidence is not evidence of absence
    - Martin Rees
    The absence of consumable DDL, sample data and desired results is, however, evidence of the absence of my response
    - Phil Parkin

  • karthik82.vk (8/19/2015)


    Hi

    Thanks for the reply.

    SO i need to download it from ftp and then only i have to read it right.

    Correct. That's when "Excel Hell" takes over. 😉 I strongly recommend that you load the "ACE" drivers from Microsoft and bone up on how to use them.

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply