1.

Solve : Batch file for network login and file transfer?

Answer»

Hello everyone.

I am a Sr. in mechanical engineering at MSU-Bozeman and am currently in the final semester of my Sr. design project. The last bit of this project is definitly more computer science than traditional engineering, and, needless to say, im waaaay out of my element....but here is what I have got going.

We have a wind turbine installed on campus and we have designed some instrumentation on the wind turbine that records some data. We have used National Instrument's LabView to create a Virtual Instrument (VI) that manipulates this data and makes it look nice and pretty for the end user. There is also a webcam that TAKES snapshots of the turbine. All of this is done on a local computer (call it WAC) that is at the turbine site.

This data and images NEED to be displayed on a WEB page. I am planning on making the VI take a screenshot of itself so instead of data, there will be "data" thats just a picture of the program output. So, there will be a webpage that needs to display 2 images, the webcam picture and the program screenshot.

The webpage is going to be hosted on the College Of Engineering's web server (call it COE). Now, COE and WAC are connected via local network. I can browse (from WAC) to the web directory on COE, but only using my log-in credentials. I do not use my log in credentials to log into WAC....not sure if im being clear here. Basically the web directory cant be accessed on WAC because when this is ATTEMPTED a BOX pops up asking for domain/username and password. Only my login credentials can open the web server.

So now, I need to make a batch file that will log in to the COE domain (so that it can access the web directory) and then transfer the 2 image files from WAC to COE.

Could someone give me a hand or point me in the correct direction?

Your time is appreciated. Thanks in advance. i am not sure about webserver, and how you browse web directory on coe.

but this is how to access another computer local-disk:
first check if the following command works
C:\>net use \\COE /user:domainnamehere/usernamehere
or
C:\>net use \\COE\C$ /user:domainnamehere/usernamehere

if works, it will then prompt password



Discussion

No Comment Found