Click here to Skip to main content
15,867,308 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

can i give ftp adress in .ini file...to connect any hardware device with web application before setup of that hardware device.

Thanks in advanced
Posted

1 solution

It's a web app, so you'd use the web.config, but the correct answer is 'yes, but I don't think that answers your question'. How does an FTP address allow you to connect to a hardware device ? If the device is on the client side, and you want your web page to connect to it, ASP.NET will not do that, only a plugin such as an ActiveX control will give you access to hardware on the client side.
 
Share this answer
 
Comments
[no name] 31-Jan-12 3:00am    
Christian,My question meaning is before setup of my hardware can i write connection string(full path of folder in website) in ptsetup.ini file...because i have to search folder on my website.using that connection string..my hardware device functionality is to scan that folder perform some operation....so my intention is to interface that hardware device with my web aplication...
[no name] 31-Jan-12 4:28am    
Have u give me any suggestion's for ActiveX plugin? How to interface hardware device with web application.
Christian Graus 31-Jan-12 14:48pm    
When you test your web app, this may seem to work, because the server and client are the same machine. But the server, not the client, is able to interface with hardware. I've not written any active X plugins, all I know for sure is that you cannot use HTML to drive hardware on the client side, some sort of plugin is needed. I am not really sure why my answer got two stars out of five, given that I gave you the only correct answer there is.

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