473,386 Members | 1,793 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

File not being upload using Internet Transfer Control

Hello every one.
I want to upload file from the client machine to the server whose
ip is 192.168.1.8.
It work completely fine but when i see in the folder where the file
needed to be uploaded there isnt any file.The codes doesnt even show
any errors.The code is as following.Here I have used Internet Transfer
Control version 6.0 as Inet1.
So can any one help me.
Dim strPostData As String
Dim strHeader As String
Dim strData As String
FileOpen(32,
"L:\Projects\AttendanceSystem\Database\Attendance. xml",
_OpenMode.Output)
strData = InputString(32,
FileLen_("L:\Projects\AttendanceSystem\Database\At tendance.xml"))
FileClose(2)
strPostData = strData & vbCrLf
MsgBox(strPostData)
strHeader = "Content-Type: application/x-www-form-urlencoded" &
vbCrLf
Inet1.Execute("http://192.168.1.8:80/test/hello.xml", "put",
strPostData, strHeader)
MsgBox("Done")

Jun 26 '06 #1
0 804

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Uncle Ben | last post by:
I'm looking for a way to retrieve files of 4 gigabyte in size or larger via ASP.NET. Can this be done using pure ASP.NET, or do I need to use components to handle such large upload? Ability to do...
2
by: Lau Lei Cheong | last post by:
Hello, Is there a way to determine the size of a file in InputFile control before it starts uploading(i.e.: wants to determine the file size at client-side)? The checking cannot be done on...
2
by: Peter White | last post by:
I am trying to transfer a file from a user's local machine (the file is automatically created by a 3rd party tool and stored in the users local settings/temp directory) via a web form to my web...
15
by: Nathan | last post by:
I have an aspx page with a data grid, some textboxes, and an update button. This page also has one html input element with type=file (not inside the data grid and runat=server). The update...
3
by: Mike Kelly | last post by:
Hi. I've built a page using standard ASP.NET 2.0 features and when I upload a large file (>20MB) to our intranet server, I get a paltry 100KB/s on our 100Mb/s LAN. Simply copying the file, I get...
4
by: Pavils Jurjans | last post by:
Hello, I have the following setup: The page that contains the form with file upolad HTML control resides on another server that doesn't have ASP.NET available. It may well be just static...
6
by: Marko Vuksanovic | last post by:
I am trying to implement a file upload progress indicator (doesn't have to be a progress bar) using atlas... I do realize that the indicator cannot be implemented using Update panel control, but is...
3
by: macca | last post by:
Hi people! I'm having a problem with a file upload script that I'm writing. It works with Firefox but not Internet explorer. When the form is submitted(to it's self) it check for a file upload...
1
KevinADC
by: KevinADC | last post by:
Note: You may skip to the end of the article if all you want is the perl code. Introduction Many websites have a form or a link you can use to download a file. You click a form button or click...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.