Now I see. You have uploaded the file to the server, and now the server needs to transfer it to another server. The options depend on how the DMZ server is accessible: FTP, SMB, HTTP, ... ?
Check the
Applets FAQ, which is linked in my signature, for some (non-applet-specific) libraries you can use in each of these cases.