01-28-2019 01:52 AM - edited 01-28-2019 01:52 AM
Hello to all.
First of all thanks a lot for reading this post and being able to help.
I would like to do next.
I have PC server and PC client.
I have some .txt files in PC client. I would like to send these files to PC server over the same network.
Once I have the files in PC Server, I would like to put these files in a folder but if some files exists dont overwrite them (just copy the new files).
How can I do that?
Thanks a lot.
01-28-2019 02:21 AM
Map network share to a letter, e.g. P:.
Use Check if file exist.
Copy file to e.g. P: if not.
/Y
01-28-2019 02:40 AM
Map network you mean FTP??
01-28-2019 04:43 AM
@Alvaro.S wrote:
Map network you mean FTP??
No. He means to create a mapped network folder on your client PC. Then you just have to copy the file to that location and not use the server.
01-29-2019 01:54 AM
But I see a problem in that solution.
I have to do the next:
- When User press a buton in a client PC then transfer the files from client PC to server PC.
- Server PC may be turned off, so in that case I want that when labview application in server PC starts then get the files that are hosted on the client PC.
There may be more than one client PC.
What is the best way to do this?
Thanks a lot.
01-29-2019 05:51 AM
Another problem that I can see is the next.
Every time that I wan to add a new client PC, I have to create a map network drive in that client PC, so I think that solution is not scalable.
Any solution?
Thanks!
01-29-2019 06:29 AM
@Alvaro.S wrote:
Every time that I wan to add a new client PC, I have to create a map network drive in that client PC, so I think that solution is not scalable.
You don't really have to map the drive. You just need the network location to put the file. Mapping the drive just makes things a little simpler. But you can do the mapping very easily using the "net use" command via a bat file or the System Exec VI.
01-29-2019 06:39 AM
can you show a really simple program which connect both PCs and send/get a file?
Thanks a lot