Text Or Binary
I do not actually have web page i can test this with but would really appreciate anyone with experience on this topic.
You see i am trying to upload a html page called wt.html from my disk to a website called http://www.rt.com/rf/wt.html using the HttpUrlConnection by first authenticating myself into the server getting its outputstream and getting rady to transfer the data.
Here is where my program begins, when a html file is involved do i transfer the data in text form by reading the html tags one by one from the html file on my disk and transferring the html tags one by one using the PrintStream class
can i just use the FileInputStream class to transfer the file from my disk to the server.
For zip files and other data format, i know that i can use the FileInputStream
and do this but for html i am not really that sure and hope that someone can shed some light on this topic for me or anyone that has experience in this arena as i do not actually have a webpage to test this problem with
Any help is greatly appreciated
Last Post: 05-15-2006, 04:36 PM
By Kevin in forum VB Classic
Last Post: 12-05-2005, 07:25 PM
By Karen in forum VB Classic
Last Post: 07-25-2002, 07:06 PM
Last Post: 08-30-2001, 12:45 PM
By George Gilbert in forum vb.announcements
Last Post: 08-19-2001, 12:34 PM
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL