non posso scrivere così:
url = "http://www.miosito.com/img/foto.jpg"
Set xmlhttp = Server.CreateObject("MSXML2.ServerXMLHTTP")
xmlhttp.Open "get", url, False
xmlhttp.Send
foto = CStr(xmlhttp.ResponseText)
fotostatus = xmlhttp.Status
'response.write foto
Set xmlhttp = Nothing
perchè mi da quest'errore
get to /locand/staizitto.jpg not supported.
e per salvare come uso fso?
Dim objFSO, objTextFile
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objTextFile = objFSO.SaveToFile(Server.MapPath("/image"))
objTextFile.Close
Set objTextFile = Nothing
Set objFSO = Nothing
così come faccio a dargli la variabile foto?