Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Other Programming > VBScript
VBScript For questions and discussions related to VBScript.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VBScript section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old April 14th, 2004, 05:16 AM
Registered User
Join Date: Apr 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem with saving binary file using VBScript

I want to download .xls file from internet. I'm able to get this data, but they are in binary form. I'm using ResponseBody property of WinHttpRequest object [WinHTTP].

I have a problem with saving mentioned binary data into file using VBScript. Do anybody know how to download or save such a data?



Reply With Quote
  #2 (permalink)  
Old April 14th, 2004, 05:28 AM
Friend of Wrox
Join Date: Jun 2003
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post

Have you tried using the ADO Stream object? It can handle binary data, and it has the SaveToFile method.
Reply With Quote

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with saving a file nelly78 .NET Framework 2.0 3 October 24th, 2008 01:09 AM
Saving Binary data using SQL Query aliirfan84 Oracle 1 June 4th, 2007 03:20 AM
Saving OLE Object as Long Binary in SQL being_oblivious Pro VB Databases 0 August 1st, 2005 11:51 PM
Saving OLE Object to Long Binary being_oblivious Access VBA 0 August 1st, 2005 11:44 PM
Saving Image to sqlserver 2000 in binary format kvanchi General .NET 1 May 10th, 2005 07:24 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.