Downloading zip and text files via FTP (using Inet control)
Posted on 2003-12-03
After receiving the responses I did re:using the Inet control for FTPing, I decided to go with it. Thanks.
Now that I did, all is working great w/the uploading and downloading of zip and text files. I can't have a progress bar, but that's ok because of the simplicity of the code now.
In the case statement 'icResponseCompleted', I'm not doing anything except setting the status bar message to "Request completed successfully.".
1) In the 'icResponseCompleted' case, do I have to implement the Inet1.GetChunk(512, icString) code, etc.? All seems to be working fine with downloading zip and text files without that code. I can't seem to find documentation re:why to use it.
2) Also, how would one know if they're downloading a binary or text file? In a script, one can use the 'binary' or 'ascii' commands, but programmicatically using the Inet control, how would one implement that?
Thanks for all your help!!