Lines Matching refs:viewer
5 viewer = v;
24 - if (viewer.rec != null) {
45 + if (viewer.rec != null) {
67 + if (viewer.ftpOnly) {return;}
79 + if (viewer.ftpOnly) {return;}
96 + if (viewer.ftpOnly) {return;}
104 - viewer.ftp.setVisible(!viewer.ftp.isVisible());
106 + if (viewer.ftpOnly) {
107 + viewer.vncFrame.setVisible(false);
109 + viewer.ftp.setSavedLocations();
110 + if (viewer.ftp.isVisible()) {
111 + viewer.ftp.doClose();
113 + viewer.ftp.doOpen();
116 viewer.rfb.readServerDriveList();
185 viewer.rfb.readServerDirectory(remoteLocation.getText());
271 + if (viewer.ftpDropDown != null) {
272 + String[] dd = viewer.ftpDropDown.split("\\.");
376 + if (viewer.ftpOnly) {
569 + if (viewer.ftpOnly) {
822 + if (viewer.ftpOnly) {
823 + viewer.disconnect();
828 - viewer.rfb.writeFramebufferUpdateRequest(
831 - viewer.rfb.framebufferWidth,
832 - viewer.rfb.framebufferHeight,
834 + viewer.rfb.writeFramebufferUpdateRequest(0, 0, viewer.rfb.framebufferWidth,
835 + viewer.rfb.framebufferHeight, true);
891 + viewer.ftp_init();
998 viewer.rfb.requestRemoteFile(remoteFileName,localDestinationPath);
1069 + viewer.rfb.requestRemoteFile(remoteFileName,localDestinationPath);
1108 viewer.rfb.fAbort = true;
1131 - viewer.rfb.readServerDirectory(drive);
1157 + viewer.rfb.readServerDirectory(drive);
1281 viewer.rfb.readServerDirectory(drive);
1297 viewer.rfb.readServerDirectory(drive);
1721 viewer = v;
1727 + if (! viewer.disableSSL) {
1771 + viewer.disconnect();
1851 + if (viewer.dsmActive) {
2037 - // viewer.ftp.connectionStatus.setText("Sent: "+ counter + " bytes of "+ f.length() + " bytes"…
2038 - viewer.ftp.jProgressBar.setValue((int)((counter * 100) / f.length()));
2039 - viewer.ftp.connectionStatus.setText(">>> Sending File: " + source + " - Size: " + f.length() +…
2078 + // viewer.ftp.connectionStatus.setText("Sent: "+ counter + " bytes of "+ f.length() + " bytes");
2079 + viewer.ftp.jProgressBar.setValue((int)((counter * 100) / f.length()));
2080 + viewer.ftp.connectionStatus.setText(">>> Sending File: " + source + " - Size: " + f.length() + …
2106 + viewer.ftp.enableButtons();
2107 + viewer.ftp.connectionStatus.setText("Remote file not available for writing.");
2108 + viewer.ftp.historyComboBox.insertItemAt(new String(" > Error - Remote file not available for w…
2109 + viewer.ftp.historyComboBox.setSelectedIndex(0);
2121 viewer.ftp.refreshRemoteLocation();
2124 viewer.ftp.connectionStatus.setText(" > Error - File NOT sent");
2125 - viewer.ftp.historyComboBox.insertItemAt(new String(" > Error - File: <" + sendFileSource) + ">…
2126 + viewer.ftp.historyComboBox.insertItemAt(new String(" > Error - File: <" + sendFileSource)
2131 viewer.ftp.connectionStatus.setText(" > File sent");
2132 - viewer.ftp.historyComboBox.insertItemAt(new String(" > File: <" + sendFileSource) + "> was sen…
2133 + viewer.ftp.historyComboBox.insertItemAt(new String(" > File: <" + sendFileSource)
2136 viewer.ftp.historyComboBox.setSelectedIndex(0);
2137 viewer.ftp.enableButtons();
2150 viewer.ftp.refreshRemoteLocation();
2151 - viewer.ftp.historyComboBox.insertItemAt(new String(" > Deleted File On Remote Machine: " + f.sub…
2153 + viewer.ftp.historyComboBox.insertItemAt(new String(" > ERROR Could not Delete File On Remote Ma…
2155 + viewer.ftp.historyComboBox.insertItemAt(new String(" > Deleted File On Remote Machine: " + f.su…
2157 viewer.ftp.historyComboBox.setSelectedIndex(0);
2186 viewer.ftp.refreshRemoteLocation();
2187 - viewer.ftp.historyComboBox.insertItemAt(new String(" > Created Directory on Remote Machine: " + …
2189 + viewer.ftp.historyComboBox.insertItemAt(new String(" > ERROR Could not Create Directory on Remo…
2191 + viewer.ftp.historyComboBox.insertItemAt(new String(" > Created Directory on Remote Machine: " +…
2193 viewer.ftp.historyComboBox.setSelectedIndex(0);
2231 viewer.ftp.disableButtons();
2246 + viewer.ftp.enableButtons();
2247 + viewer.ftp.connectionStatus.setText("Remote file not available for reading.");
2248 + viewer.ftp.historyComboBox.insertItemAt(new String(" > Error - Remote file not available for re…
2249 + viewer.ftp.historyComboBox.setSelectedIndex(0);
2266 + viewer.ftp.historyComboBox.insertItemAt(new String(" > ERROR opening Local File: <" + fileName …
2267 + viewer.ftp.historyComboBox.setSelectedIndex(0);
2268 + viewer.ftp.enableButtons();
2282 + viewer.ftp.enableButtons();
2283 + viewer.ftp.refreshLocalLocation();
2284 + viewer.ftp.connectionStatus.setText(" > Error - File NOT received");
2285 + viewer.ftp.historyComboBox.insertItemAt(new String(" > Error - File: <" + receivePath + "> not …
2295 viewer.ftp.refreshLocalLocation();
2317 + viewer.ftp.receivedRemoteDirectoryName(str);
2318 // viewer.ftp.changeRemoteDirectory(str);
2573 - viewer.ftp.printDirectory(a);
2584 + viewer.ftp.printDirectory(a, b);
2590 …viewer.ftp.connectionStatus.setText(" > WARNING - Remote Drive unavailable (possibly restricted ac…
2591 viewer.ftp.remoteStatus.setText("WARNING: Remote Drive unavailable");
2592 + viewer.ftp.historyComboBox.insertItemAt(new String(" > WARNING: Remote Drive unavailable."), 0);
2593 + viewer.ftp.historyComboBox.setSelectedIndex(0);
2601 - viewer.rfb.writeRfbFileTransferMsg(
2607 + viewer.rfb.writeRfbFileTransferMsg(RfbProto.rfbDirContentRequest, RfbProto.rfbRDrivesList, 0, 0…
2619 - if (!viewer.ftp.isVisible()) {
2621 + if (!viewer.ftp.isVisible()) {
2707 + if (viewer.debugKeyboard) {
2729 + if (key == 0xffc2 && viewer.mapF5_to_atsign) {
2739 + if(viewer.forbid_Ctrl_Alt) {
2744 + if (viewer.debugKeyboard) {
2798 + VncViewer viewer;
2869 + viewer = v;
3128 + if (viewer.oneTimeKey != null && viewer.oneTimeKey.equals("PROMPT")) {
3130 + viewer.oneTimeKey = d.queryUser();
3132 + if (viewer.oneTimeKey != null && viewer.oneTimeKey.indexOf(",") > 0) {
3133 + int idx = viewer.oneTimeKey.indexOf(",");
3135 + String onetimekey = viewer.oneTimeKey.substring(0, idx);
3137 + String onetimecert = viewer.oneTimeKey.substring(idx+1);
3173 + if (viewer.serverCert != null) {
3175 + byte[] cert = hex2bytes(viewer.serverCert);
3283 + if (viewer.ignoreProxy) {
3295 + if (viewer.httpsPort != null) {
3296 + ustr += viewer.httpsPort;
3300 + ustr += viewer.urlPrefix + "/check.https.proxy.connection";
3346 + if (! viewer.GET) {
3350 + viewer.GET = true;
3362 + } else if (trusturlCerts != null && !viewer.forceProxy) {
3376 + ustr += viewer.urlPrefix + "/index.vnc";
3402 + if (! viewer.GET) {
3406 + viewer.GET = true;
3427 + dbg("viewer.trustSrvCert-0 using trustsrv_ctx");
3430 + } else if (viewer.trustAllVncCerts) {
3432 + dbg("viewer.trustAllVncCerts-0 using trustall_ctx");
3447 + if (proxy_in_use && viewer.forceProxy) {
3449 + } else if (viewer.CONNECT != null) {
3465 + if (proxy_in_use || viewer.CONNECT != null) {
3470 + dbg("viewer.CONNECT reverse proxy in use. Trying to go with it.");
3493 + if (viewer.trustAllVncCerts) {
3494 + dbg("viewer.trustAllVncCerts-1 keeping socket.");
3513 + if (viewer.trustAllVncCerts) {
3514 + dbg("viewer.trustAllVncCerts-2 skipping browser certs dialog");
3516 + } else if (viewer.serverCert != null && trustsrvCerts != null) {
3517 + dbg("viewer.serverCert-1 skipping browser certs dialog");
3519 + } else if (viewer.trustUrlVncCert) {
3520 + dbg("viewer.trustUrlVncCert-1 skipping browser certs dialog");
3609 + if (viewer.trustAllVncCerts) {
3610 + dbg("viewer.trustAllVncCerts-3. skipping dialog, trusting everything.");
3701 + if (socket != null && viewer.GET) {
3703 + str += viewer.urlPrefix;
3756 + if (viewer.serverCert != null || trustsrvCerts != null) {
3922 + if (viewer.proxyHost != null) {
3923 + dbg("Using supplied proxy " + viewer.proxyHost + " " + viewer.proxyPort + " applet parameters."…
3924 + proxyHost = viewer.proxyHost;
3925 + if (viewer.proxyPort != null) {
3926 + proxyPort = gint(viewer.proxyPort);
4041 + } else if (viewer.CONNECT != null) {
4042 + dbg("viewer.CONNECT psocket:");
4050 + if (viewer.CONNECT != null) {
4051 + String hp = viewer.CONNECT;
4847 VncViewer viewer;
4877 if (viewer.showControls) {
4878 viewer.buttonPanel.enableRemoteAccessControls(true);
4885 if (viewer.showControls) {
4886 viewer.buttonPanel.enableRemoteAccessControls(false);
4892 + if (viewer.graftFtp) {
4895 if (viewer.options.eightBitColors > 0)
4897 viewer.options.oldEightBitColors = viewer.options.eightBitColors;
4903 + viewer.options.oldEightBitColors = viewer.options.eightBitColors;
4910 viewer.checkRecordingStatus();
4918 + if (!viewer.graftFtp) {
4933 + if (viewer.ftpOnly && msgType != RfbProto.rfbFileTransfer) {
4948 if (viewer.rfb != null && rfb.inNormalProtocol) {
4954 + if (viewer.rfb != null && rfb.inNormalProtocol) {
4967 if (viewer.rfb != null && rfb.inNormalProtocol) {