public class ProfileToMirrorServer extends Object
| Constructor and Description |
|---|
ProfileToMirrorServer(String pathToProfile)
Creates an instance of a class which can be used to store a profile onto a mirror server.
|
public ProfileToMirrorServer(String pathToProfile) throws IOException
pathToProfile - Path to the profile to load. (e.g. /home/user/profile.zprofile)IOException - If an I/O error occurs.public List<String> sendToMirrorServer(String server, String user, String password) throws ConnectionException, FileNotFoundException, IOException
server - The FTP server path.user - The FTP user name. (The user should have read/write/create/delete access.)password - The FTP passwordConnectionException - If an I/O error occurs.FileNotFoundException - If the profile is not found.IOException - If an I/O error occurs.
© 2015 ZIH Corp. All Rights Reserved.