For a deeper look into our DataScope Select SOAP API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
2 0 1 0

how to set "delivery type" to FTP ?

Is it possible to set the delivery type of a BondScheduleReportTemplate to "FTP" ? If so - how? The last line gives an error.

BondScheduleReportTemplate myBondScheduleReportTemplate = new BondScheduleReportTemplate();
myBondScheduleReportTemplate.Name = "myBondScheduleTemplate";
myBondScheduleReportTemplate.OutputFormat = ReportOutputFormat.CommaSeparatedValues;
myBondScheduleReportTemplate.ShowColumnHeaders = true; myBondScheduleReportTemplate.DeliveryType = "Ftp";

Thanks in advance!

dss-rest-apidatascope-selectdssFTP
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
Accepted
11.3k 25 8 13
@03c56457-9bfe-499b-8780-5db6ead5f2d6

You can use the following statement to specify the FTP option.

myBondScheduleReportTemplate.DeliveryType = ReportDeliveryType.Ftp;

The DeliveryType is enumeration defined as follow.

namespace ThomsonReuters.Dss.Api.Extractions.ReportTemplates
{
    public enum ReportDeliveryType
    {
        None = 0,
        Ftp = 1,
        Sftp = 2
    }
}
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
11.3k 25 8 13

Hi @03c56457-9bfe-499b-8780-5db6ead5f2d6

The "FTP" DeliveryType in the report template is for FTP Automated Delivery which deliver output to your FTP server via FTP Push. This function is only available through the private network via Delivery Direct or BT Radianz (MPLS).

If you would like to manually download your extractions from DataScope Select FTP server, you can select the "Enable FTP access" in User Preference. DataScope Select automatically delivers your extractions to DataScope Select FTP server. For more information, please see the FTP User Guide.


ftpaccess.png (10.1 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
2 0 1 0

@veerapath.rungruengrayubkul

Thank you.

I understand what you are saying. My question was about how to specify the Ftp option in the delivery type attribute. Note that the compiler has a red underline on the statement.


capture.jpg (51.2 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
2 0 1 0

@veerapath.rungruengrayubkul thank you, that was helpful

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea