How to upload a file via IP?
How to upload a file via IP?
How to upload a file via IP?
How to upload a file via IP?
How to upload a file via IP?
How to upload a file via IP? How to upload a file via IP? How to upload a file via IP? How to upload a file via IP? How to upload a file via IP? How to upload a file via IP? How to upload a file via IP? How to upload a file via IP?
How to upload a file via IP? How to upload a file via IP?
How to upload a file via IP?
Go Back  Xtreme Visual Basic Talk > > > How to upload a file via IP?


Reply
 
Thread Tools Display Modes
  #1  
Old 06-11-2009, 09:51 PM
axle12693 axle12693 is offline
Freshman
 
Join Date: May 2009
Posts: 26
Default How to upload a file via IP?


Hi, I'm trying to upload a file via an IP address using the System.Network.UploadFile method. I have the IP address like this:
xxx.xxx.x.x

At runtime, it says that it isn't a valid remote address because a valid address should include a protocol, a path and a file name.

How can I fix this? Do you need more info?

Thanks
Reply With Quote
  #2  
Old 06-12-2009, 10:21 AM
Qua's Avatar
QuaHow to upload a file via IP? Qua is offline
Impetuous & volatile

* Expert *
 
Join Date: Apr 2005
Posts: 2,177
Default

I assume that you're talking about My.Computer.Network.UploadFile and not System.Network.UploadFile. When you're supplying an upload url string, your string will need to contain three things: The protocol used, the path uploaded.

An example of such string would be http://www.myhomepage.com/upload/upload.aspx. Take a look at the documentation for specific information
__________________
Reading is the foundation for all knowledge - Unknown.
Reply With Quote
  #3  
Old 06-16-2009, 01:08 PM
AnaRhisT AnaRhisT is offline
Newcomer
 
Join Date: Apr 2009
Posts: 22
Default

My.Computer.Network.UploadFile ("C:\My Documents\Order.txt", _
"http://www.cohowinery.com/upload.aspx","username","pw",True,500)
500 = interval
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
How to upload a file via IP?
How to upload a file via IP?
How to upload a file via IP? How to upload a file via IP?
How to upload a file via IP?
How to upload a file via IP?
How to upload a file via IP? How to upload a file via IP? How to upload a file via IP? How to upload a file via IP? How to upload a file via IP? How to upload a file via IP? How to upload a file via IP?
How to upload a file via IP?
How to upload a file via IP?
 
How to upload a file via IP?
How to upload a file via IP?
 
-->