[Last Call] Learn how to a build a cloud-first strategyRegister Now


Export to FTP site in .xls format on a schedule (ie every week on Tuesday) from SQL

Posted on 2008-11-07
Medium Priority
Last Modified: 2013-12-02
We use SQL 2005.  I have a query written in SQL that I would like to set up as a job that pulls the data into an excel file and "drops it off" on an external FTP site.  Ideally the file name would change dynamically by including the file-drop off date (getdate()) before the extension when it gets placed on the FTP site itself (ie data110608.xls)

I've looked into SSIS packages and the FTP connector, but can't connect the dots.  Can anyone point me in the right direction?
Question by:angelnjj
1 Comment
LVL 17

Accepted Solution

HoggZilla earned 2000 total points
ID: 22909129
SSIS is a good choice based on your requriements.
1. It can be scheduled as a job. 2. Easily export data from SQL to Excel. 3. Dynamic filenames for your Excel easily managed by expressions and delivered date functions. 4. Sending a file via FTP is super easy using either a command line job or executable.
I have written quite a few examples on all of the above here at EE as have many other experts. Please search here for specific help but ask if you need something.

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
This shares a stored procedure to retrieve permissions for a given user on the current database or across all databases on a server.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question