LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

webserver files transer

Hi!

   I'm controlling an application using the webserver.

This application is over the internet and it save a file every ay on its own memory.

I like to copy one month every file from there to the client pc that use the browser to monitor and control the application.

At the moment i use a Tree control to list the files that are stored on the server, and i'd like to copy those files to the client pc when i press a button.

The problem is to resolve the path to which the files have to be saved.

I don't know the client pc IP and the "c:\" path that i see in the browser is the Server disk and not the client.

Is it possible to move files from server to client using the webserver?

 

0 Kudos
Message 1 of 5
(2,831 Views)

Don't think this is possible, as a webserver hasn't the right to access a clients harddrive normally. But in Windows, you can share your folders between different pcs. So will it be an alternative to create a litte application on the client side that accesses a shared folder on your servers pc and copy the files?


THINK G!! 😉
------------------------------------------------------------------------------------------------
Using LabView 2010 and 2011 on Mac and Win
Programming in Microsoft Visual C++ (Win), XCode (Mac)
0 Kudos
Message 2 of 5
(2,816 Views)

Hi,

  thank you for your answer.

Yes, maybe i'll use the shared folder solution.

I wanted to know if there are some different solution.

0 Kudos
Message 3 of 5
(2,796 Views)

better if with no ad hoc client.

0 Kudos
Message 4 of 5
(2,791 Views)

sure there are other possibilities, as labview supports tcp/ip protocol and so on, that means you can program the file transfer yourself, but this means to create a server, a client and to implement all your needed functionality into your server, it's no "remoting of a VI" anymore...


THINK G!! 😉
------------------------------------------------------------------------------------------------
Using LabView 2010 and 2011 on Mac and Win
Programming in Microsoft Visual C++ (Win), XCode (Mac)
0 Kudos
Message 5 of 5
(2,786 Views)