Urgent: How can i use a standalone java application contact a remote machine (i have username and password of it) and copy file from one location to other. Please send the code or url which i can use. I'm ok creating a .bat file and running it. Thanks in advance
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35224
7
posted
0
That depends on the operating system. If It's a Unix-ish machine you can use rcp, if it's Windows you can use the jCIFS library.
Thanks. I'll be using command prompt on my windows XP machine and i'll be connecting to Unix machine. need a little script to make connection and then copy ear file from one location to other.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.