sachinbaan
3rd February 2014, 08:30
ret = curl.download.file("http://www.baanboard.com","D:\avin\abc.htm")
above code not working....
Error code : -2: Unknown Error
:confused:
bhushanchanda
3rd February 2014, 09:00
Hi,
Check following things:-
1. Check if #include <bic_curl> is included in the script.
2. Check the folder permissions.
3. Check the return value. If its greater than 0 then use something like this to get the error message:-
string line1(100)
line1= curl.strerror$ (ret) | ret is return code
line1 will have error message.
4. Check if the server has internet connection.