Does anyone know how to download a p'word protected ascii file (csv) ?
Protocal in use seems to be http1.1
I logged on successfully with
TCP PRINT "GET " + filename + " HTTP/1.1"
TCP PRINT "Host: " + "wwwaddress"
TCP PRINT "Authorisation: Basic " + encode64(uname+pword)
Then recd message telling me "302 Found"
But same message tells me Location (of my file) is at an http:// address
What am I supposed to do now ?
Close connection; start again at new location ? That can't be right.
So I tried
TCP PRINT "GET " + filename + "HTTP/1.1"
TCP PRINT "Host: " + httpaddress (no mention of uname/pword)
Was told "Bad Request" and connection was closed.
I suspect I don't know how to phrase that last get.
Any ideas from you clever people out there ?
Protocal in use seems to be http1.1
I logged on successfully with
TCP PRINT "GET " + filename + " HTTP/1.1"
TCP PRINT "Host: " + "wwwaddress"
TCP PRINT "Authorisation: Basic " + encode64(uname+pword)
Then recd message telling me "302 Found"
But same message tells me Location (of my file) is at an http:// address
What am I supposed to do now ?
Close connection; start again at new location ? That can't be right.
So I tried
TCP PRINT "GET " + filename + "HTTP/1.1"
TCP PRINT "Host: " + httpaddress (no mention of uname/pword)
Was told "Bad Request" and connection was closed.
I suspect I don't know how to phrase that last get.
Any ideas from you clever people out there ?
Comment