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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
41 3 4 9

Datascope select plus Entity data download files using curl ftp failed

I am using curl command where i am trying to download the entity data bulk report files but getting error as :

curl -x http://proxy1.tst:8080 ftp://plus.datascope.refinitiv.com --user user:password
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   335    0   335    0     0    118      0 --:--:--  0:00:02 --:--:--   118<title>Directory listing</title>
<h1>Directory listing</h1><pre>
You are user #19 of 100 simultaneous users allowed.


Restricted user logged in.
<hr>
<a href = "../">Parent Directory</a> (<a href = "/">Root Directory</a>)


    4096 Nov  8 14:15 <a href=".ssh/">.ssh/</a>
    4096 Nov 18 00:28 <a href="Bulk_Reports/">Bulk_Reports/</a>

Do i have permission issue to download the files ?

datascope-select
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.

1 Answer

Upvotes
Accepted
13k 32 12 18

Hello @rahul.deshmukh,

I don't have DSE+ credentials so unable to directly check your curl command, but something does not look correct. You should be getting an (S)FTP response to the (s)ftp request and not an embedded HTML as shown. Is your proxy server causing this.

Can you try to use WinScp to login to sftp://plus.datascope.refinitiv.com with your credentials and see if that works.

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.

it got solved now ...

  1. Restricted user logged in. is just warning ...i used wget in linux machine to download the files..Below is my command:
  2. wget --user user--password password --recursive ftp://plus.datascope.refinitiv.com/Bulk_Reports/

But again my problem is as i am working in windows and may be want to use curl command instead of wget ...do you know how it works with curl command ?

curl is a generic network tool rather then a ftp transfer tool. In Windows machine, you can use sftp.exe or WinScp.

Also, since the secure format is supported, I would highly discourage the use of ftp protocol - use sftp instead.


Click below to post an Idea Post Idea