Re: Saving image from web without using adodb.stream



The FileSystemObject can write binary files, but
I don't think there's a way for VBS to directly
"digest" a byte array, which seems to be what the
ResponseBody is returning.

The problem is that in my windows ce application I dont have the
adodb.stream and no ftp utilities.

It's easy to install an FTP program if you
want that. CoffeeCup FTP is free and fully
adequate. (FTP is very simple. There's no
point in paying for extra fancy programs that
let you pretend you're "editing files on the server".)

The solution would be vb, but i really dont know where to start from

If you want it automated and either want to use
a component or code it yourself, See here:

http://www.jsware.net/jsware/jryo.php3

Go down to the bottom of the page where there's
"Information for Scripters" and "Information for
Programmers". Those explain two options:

1) You can download a downloading component that can
also writes files to disk. It also has a few other
functions, like parsing RSS and telling you the response
code and string the server gave to your request.
(For instance, if the server sent back 302 (moved)
along with the new URL, the component will give you
access to that data.)

2) You can download the source code for a VB6
UserControl that is almost the same thing as the
component. It can be added to any VB project to
provide the same downloading functionality.

Both the component and the UC are written in
VB6 with no dependencies other than the VB6 runtime.
(MSVBVM60.DLL)
They use Windows sockets 1 API (available on
Windows versions 95 and up) and carry out the
server conversation "directly", so there's no need
for any IE libraries like URLMON.dll and no need
for winsock ocx files, etc.


.



Relevant Pages

  • RE: FTP downloads to server timeout after 60 seconds
    ... Please download a big file via IE browser from Internet, ... Please make a clean boot on SBS server to make sure the problem is ... Click Services tab and select Hide All Microsoft Services and Disable ... Send the .cab file directly to v-robeli@xxxxxxxxxxxxx with subject: FTP ...
    (microsoft.public.windows.server.sbs)
  • Re: FTP download failure - fails at exactly the same point in the transfer file.
    ... command line ftp utility. ... backup file it failed at about 48Mb. ... download got stuck mid-way. ... server is broke too. ...
    (microsoft.public.windows.server.general)
  • Re: File is null when downloaded from unix
    ... I am using netcomponents FTP class to retrive file from FTP server, ... Following ocde is used to download file from unix server, ...
    (comp.lang.java.programmer)
  • Re: FTP difficulties 4.8R
    ... > with email, http, it runs an ftp server and client fine (both are ... I downloaded my FreeBSD ISOs without difficulty... ... > It does go outside and connect, sometimes I can ftp download some small ... > install Samba to better network with the Windows machine - I cannot download ...
    (freebsd-questions)
  • FTP and Import CSV file via VB into SQL Server 2000
    ... Hello - I have a project where I would like to FTP a file from and FTP ... server, read the comma-delimited file and import the data into SQL Server ... server and then a VB6 application that reads the data. ...
    (microsoft.public.vb.general.discussion)

Loading