Click here to Skip to main content
16,013,747 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i am using oclient.uploadfile()
VB
Dim clientip As String
                clientip = System.Configuration.ConfigurationManager.AppSettings("serverIP")
                Dim dbc As String
                dbc = System.Configuration.ConfigurationManager.AppSettings("uploadVD")
                Dim respbyte() As Byte = oclient.UploadFile("http://" & clientip & "//" & dbc & "/GetUploadedFile.aspx", "POST", str)


in getuploadedfile.aspx using get a mappath.

if any another solution using asp.net plz tell me

I am take another system,put my url and upload one image
System.IO.DirectoryNotFoundException is raged
------------------------------------------------------------------------
any another solution
image transfer one system to another system,using aspx or javascript
Posted
Updated 30-May-11 18:05pm
v8

1 solution

Hi,

Use FPT:// instade of Http://

Make remote server work as FTP server. Then and then only it allow to upload file.
 
Share this answer
 
Comments
nane aa 5-May-11 5:04am    
System.NotSupportedException is raged.
Dim respbyte() As Byte = oclient.UploadFile("fpt://" & clientip & "//" & dbc & "/GetUploadedFile.aspx", "POST", str)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900