简体   繁体   中英

SSRS Report Subscription - send to FTP

I have a few reports that send emails with the reports attached. The reports are in Excel format, and run Daily.

Was wondering if it is possible to send the report to an FTP site. If possible, also add to the name of the file prefix or suffix with the date (no need for Time).

I don't think it's possible out of the box (we're looking into option as well - currently favouring some kind of DMZ with the recipient doing and FTP pull).

One option we've found is using VBScript to push via SFTP. See here for more details: https://skamie.wordpress.com/2011/07/14/send-ssrs-subscription-files-to-secured-ftp/

If you need the date and time in the name of the report output, you can use the @timestamp variable anywhere in the filename and it will be replaced with yyyy_MM_dd_HHmmss .

If you absolutely must remove the timestamp, you will need to use a data-driven subscription and set the filename as part of your query. This SO question has more details: How to get current date in file name?

As for getting the output to SFTP, you could use this: https://deztec.com/products/sftp-destination/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM