How to programmatically and over the Internet upload file to a Windows Server 2003 remote desktop from within a local Java application given security credentials (username, password) and Windows Remote Desktop settings (rdp)?
Asked
Active
Viewed 1,166 times
0
-
1Is mapping the remote directory out of the question? I personally doubt you can leverage the RDP session to transmit files using Java. – maksimov Apr 24 '12 at 08:59
-
Why not using a shared-folder and a UNC-Path? There are meny waye to tranfser files to a remote folder. – Christian Kuetbach Apr 24 '12 at 09:02
-
@maksimov Yes, mapping the remote directory is out of the question. Me too. Thanks! – Morten Apr 24 '12 at 09:18
1 Answers
1
there are many ways to connect to a remote windows Server for sharing files:
File remote = new File("file:///server/share/path/to/file.txt");
Or use JCifs ro connect to a windows-share.

Christian Kuetbach
- 15,850
- 5
- 43
- 79