Skip to content Skip to sidebar Skip to footer

Upload Image From Android Phonegap To A Server Using Asmx

I'm trying to upload captured/library image from phonegap application (android) , when am calling asmx web service i got a connection error , note that mobile and server are on the

Solution 1:

Use the code path.GetFileName(file.FileName), that is:

string targetFilePath ="c:\\deposit\\"+Path.GetFileName(file.FileName);

Solution 2:

Could be a firewall issue? Have yo enabled port 80 access to external devices? Note you must host the service in IIS not Kasini (the default visual studio service)

Ta

Ross

Post a Comment for "Upload Image From Android Phonegap To A Server Using Asmx"