Hello,
Some time ago I received very good help on this forum on a problem i ran into. The solution with cURL worked very well for some time, but now it doesn't anymore. What I'm trying to do is to call a URL with the aplication cURL which leads to download of an excel file. The original thread was
http://www.geekstogo...le-task-online/
The cURL code that worked until last week is
@echo off setlocal :: cut time to only HH:MM:SS set _TIME=%time:~0,8% :: replace ':' by '_' because ':' isn't valid in file names set _TIME=%_TIME::=_% set FN=%date%-%_TIME% :: File named: c:/Users/Name/Dropbox/Data/RBS NL_yyyy-mm-dd-hh_mm_ss.xls curl.exe -L -v -J -o "c:/Users/Name/Dropbox/Data/RBS NL_%FN%.xls" "http://www.bnpparibasmarkets.nl/NL/ExcelExport.ashx?ListName=ProductList&config=ActiveProducts&st_search=smVUClJgyncg54s%%2fXHulQrrA%%2blYEamThFGaF9vbZiuJIg20zaZF6lNpn7UgiO%%2b1w5X5yJSeb%%2brJMuLVMD4lJuKs4HzFyqw2QkyMqQOuSjy8JZLSnGk721HD%%2bIy0Nhwb0YIyOzcwVXKZFgAA9NssHoD0ujOsmAwJIX%%2bIYEjGlSKe%%2batJCRfo3YYJ8cFt81ytLMQQNr5HV6CyfX6UkR04utQ%%2bTcc7TqcLKJHDpJcgJexKWarN5Ke5sJm4YFAqzV1BxaVT6JZ8fO0AvQkfkteXrPXsqHR3%%2f0kXZ7%%2bTMXP4ERlw%%3d"
I've also tried with a line to a cookies.txt file, but no succes
:: cut time to only HH:MM:SS set _TIME=%time:~0,8% :: replace ':' by '_' because ':' isn't valid in file names set _TIME=%_TIME::=_% set FN=%date%-%_TIME% :: File named: c:/Users/Name/Dropbox/Data/iShares DE_yyyy-mm-dd-hh_mm_ss.xls curl.exe -L -v -J -b cookiesRBSNL.txt -o "c:/Users/Name/Dropbox/Data/iShares DE_%FN%.xls" "http://www.bnpparibasmarkets.nl/NL/ExcelExport.ashx?ListName=ProductList&config=ActiveProducts&st_search=smVUClJgyncg54s%%2fXHulQrrA%%2blYEamThFGaF9vbZiuJIg20zaZF6lNpn7UgiO%%2b1w5X5yJSeb%%2brJMuLVMD4lJuKs4HzFyqw2QkyMqQOuSjy8JZLSnGk721HD%%2bIy0Nhwb0YIyOzcwVXKZFgAA9NssHoD0ujOsmAwJIX%%2bIYEjGlSKe%%2batJCRfo3YYJ8cFt81ytLMQQNr5HV6CyfX6UkR04utQ%%2bTcc7TqcLKJHDpJcgJexKWarN5Ke5sJm4YFAqzV1BxaVT6JZ8fO0AvQkfkteXrPXsqHR3%%2f0kXZ7%%2bTMXP4ERlw%%3d"
Is there something which i'm overlooking here...? Can you help me to get cURL code working again?
Many thanks, help is very much appreciated!
Alexandra