file-transfer

MobaXterm drag-and-drop panel missing

China☆狼群 提交于 2019-11-30 06:39:57
I need to run a program from my windows xP machine thats installed on a remote UNIX machine using MobaXterm but I have very little experience with this sort of thing. I can login into the machine using ssh and start the program without a problem. That program needs files that I have on my windows computer to process though and I want to copy them over to that remote machine. Unfortunately the drag-and-drop file transfer panel that is mentioned regularly on mobaxterm help sites isn't present and I can't figure out how to make it appear. Could someone suggest how to get that drag-and-drop panel

Name of picture uploaded with file phonegap plugin “image%A3456”

夙愿已清 提交于 2019-11-30 06:05:08
问题 I use a FileTransfert plugin phonegap to upload picture from phone to server. The code work right but the name of picture upload is image%A4444 But I want to save the picture with the same name does it have on phone to display then. What shall i modify the code ? Thanks Function js: function uploadImage() { document.getElementById('picture_msg').innerHTML = ""; // Get URI of picture to upload navigator.camera.getPicture( //function(uri) { function(imageURI) { try { // Pick image from div var

File transfer through sockets, final size with less bytes

*爱你&永不变心* 提交于 2019-11-30 05:20:01
问题 I'm trying to receive some file through sockets in C. But the server sends me 64-byte packets for a 1000000 byte file for example and I get approximately 999902 bytes on the destination file. while ((n = read(sd, buffer_in, BUFSIZE ))) // BUFSIZE = 64 { if(n<0) { printf("Fail.\n"); fclose(archivo); return -1; } if(fwrite(buffer_in, n, 1, f) !=1 ) { printf("fwrite error.\n"); fclose(archivo); return -1; } bytes+=n; } printf("We received %d bytes", bytes); When used through a local TCP/IP

Download big files via FTP with python

末鹿安然 提交于 2019-11-30 03:55:43
问题 Im trying to download daily a backup file from my server to my local storage server, but i got some problems. I wrote this code (removed the useless parts, as the email function): import os from time import strftime from ftplib import FTP import smtplib from email.MIMEMultipart import MIMEMultipart from email.MIMEBase import MIMEBase from email.MIMEText import MIMEText from email import Encoders day = strftime("%d") today = strftime("%d-%m-%Y") link = FTP(ftphost) link.login(passwd = ftp_pass

How is SCP (secure copy protocol) file transfer working? [closed]

拈花ヽ惹草 提交于 2019-11-29 22:31:13
问题 Please, tell me how SCP work. Can anybody explain(or show) SCP file transfer to me (something look like picture, flow or reference). & one more question. What're difference between SCP and SFTP file transfer ? Thank you anyone for assist. And sorry about my language. 回答1: The SCP client connects to the SSH server and executes scp command there. In most cases, the remote scp would be the OpenSSH scp command. That means, if you use the OpenSSH scp command as a client, the local scp (as a client

Transfer files to/from session I'm logged in with PuTTY

只愿长相守 提交于 2019-11-29 20:33:29
I'm logged into a remote host using PuTTY. What is the command to transfer files from my local machine to the machine I'm logged into on PuTTY? This is probably not a direct answer to what you're asking, but when I need to transfer files over a SSH session I use WinSCP , which is an excellent file transfer program over SCP or SFTP. Of course this assumes you're on Windows. Sheshrao Wankhede Click on start menu. Click run In the open box, type cmd then click ok At the command prompt, enter: c:>pscp source_file_name userid@server_name:/path/destination_file_name. For example: c:>pscp

Error message: “Bitmap Image is not valid” on received from Socket

╄→尐↘猪︶ㄣ 提交于 2019-11-29 17:58:26
I'm trying to get a screenshot and send it over the web using ClientSocket and ServerSocket components. I'm having problems when I try to turn the stream received at ServerSocket into a picture again. Error message "Bitmap Image is not valid!" when performing: DesktopForm.imgScreen.Picture.Bitmap.LoadFromStream(ms); I do not know if the problem is in the way sending the image or get in the way. My server code: unit UntThreadDesktop; interface uses System.Classes, System.SysUtils, System.Win.ScktComp, WinApi.Windows, WinApi.ActiveX, Vcl.Graphics, Vcl.Imaging.Jpeg, UntDesktopForm; type

Cordova File Transfer remove Multipart or Content-Disposition Header

家住魔仙堡 提交于 2019-11-29 17:29:30
I managed to upload an image to my server using Cordova File Transfer plugin. var img = <full path to image> var url = <url to webservice> var options = new FileUploadOptions(); //no specified options, using defaults var ft = new FileTransfer(); ft.upload(img, encodeURI(url), win, fail, options); var win = function (r) { console.log('Successfully sent'); } var fail = function (error) { console.log("An error has occurred: Code = " + error.code); }; However, my server had problems reading the image due to the extra header added by the plugin. --+++++..Content-Disposition: form-data; name="file";

Background Intelligent Transfer Service In C#

可紊 提交于 2019-11-29 02:27:52
Anyone successfully using this in c# or is there a better alternative to this? Also any good working project that I can look at and get a good feel? most projects i have come across is in C++ and was looking for a C# project Yes, we're using it in a tool to let customers upload logs, dumps, etc. to our customer support department. You could use it directly via PInvoke/COMInterop, but I suggest to have a look at SharpBITS.NET , which wraps the BITS interface nicely. I'm the PM for the BITS team at Microsoft -- and we have a new docs.microsoft.com page that talks about using BITS and C#, plus a

Upload to PHP server from c sharp client application

為{幸葍}努か 提交于 2019-11-28 23:25:00
Currently i have a c sharp application (Client app). and a web application written php. I want to transfer some files whenever a particular action is performed at client side. Here is the client code to upload the file to php server.. private void button1_Click(object sender, EventArgs e) { System.Net.WebClient Client = new System.Net.WebClient(); Client.Headers.Add("Content-Type", "binary/octet-stream"); byte[] result = Client.UploadFile("http://localhost/project1/upload.php", "POST", @"C:\test\a.jpg"); string s = System.Text.Encoding.UTF8.GetString(result, 0, result.Length); } Here is the