+
+ update_notif("Preparing to resize image...");
+
+ channel = s.openChannel("exec");
+ ((ChannelExec)channel).setCommand("pscale "+dest);
+ channel.connect();
+
+ scp_in = channel.getInputStream();
+
+ update_notif("Resizing image...");
+ while ((len = scp_in.read(buf, 0, buf.length)) > 0)
+ ;
+
+ channel.disconnect();
+ update_notif("Upload complete.");
+
+ sayNullNotification("Dumload upload complete: " + dest, "Upload complete", "Uploaded: " + dest);
+