file-transfer

Could not establish socket with any provided host

对着背影说爱祢 提交于 2020-01-02 05:05:09
问题 I am struggling with file transfer in android.I am using smack 4.1 to connect to openfire server. My problem is: When i am using Spark to Spark file transfer, it works fine.But when i transfer file from Spark to Android or Android to Android , The iq received showing error "Could not establish socket with any provided host" like this: <iq id="018vq-231" to="sender@domain.com/Spark 2.6.3" from="receiver@domain.com/Smack" type="error"> <error code="-1" type="CANCEL"> <item-not-found xmlns="urn

Transfering files over bluetooth like in Android Bluetooth Chat Example

ぃ、小莉子 提交于 2020-01-01 06:12:48
问题 How to use Android Bluetooth Chat Example and chaneg it for file transfer. I want to transfer local SQLite database to another Android device via bluetooth. I changed the example code (http://developer.android.com/resources/samples/BluetoothChat/index.html), but if I send file bigger than 1024 bytes long, then I get more events triggered in Handler class. I tried to send small txt file and it's working (smaller than 1k). Can somebody help me please. Thanks, Toni 回答1: Read buffer in that

Good way to send a large file over a network in C#?

夙愿已清 提交于 2020-01-01 05:23:08
问题 I am trying to build an application that can request files from a service running on another machine in the network. These files can be fairly large (500mb + at times). I was looking into sending it via TCP but I'm worried that it may require that the entire file be stored in memory. There will probably only be one client. Copying to a shared directory isn't acceptable either. The only communication required is for the client to say "gimme xyz" and the server to send it (and whatever it takes

Making file transfer more efficient Java

耗尽温柔 提交于 2020-01-01 03:16:12
问题 I have two wireless computers connected to an N wireless router. Each of these PCs are connected at between 108-150Mbps. Theoretically, I should be able to transfer at 13.5MB/s to 18.75MB/s, under the absolute best of conditions. The first computer (that is sending), uses a very fast SSD, which is around 100MB/s if I remember correctly. CPU usage also stays below 20%. It sent 1960273535 bytes (1.8GB) in 656367ms. That's 2.8MB/s (22 out of 108 Megabits). When I open up task manager, I see that

MobaXterm drag-and-drop panel missing

我只是一个虾纸丫 提交于 2019-12-30 01:59:06
问题 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

How to use phonegap FileTransfer parameters with .asmx web service

不想你离开。 提交于 2019-12-29 08:29:16
问题 I am uploading an image to an asmx web service. The file upload works fine, but I am wondering how to access the parameters that I set in the javascript for the filetransfer. I want to pass the image number to the asmx SaveImage web method. Then after the file has successfully been saved I want to return the image number to the Javascript. //Javascript Calling Web Service function uploadPhoto(imageURI, imageNumber) { var options = new FileUploadOptions(), params = {}, ft = new FileTransfer(),

Ionic app image upload from camera / photo library

萝らか妹 提交于 2019-12-29 03:11:31
问题 I'm working on a ionic chat app where the user can upload a photo as part of their message. I'm looking for a way to upload the image to my webhost server so I can retrieve it later via a URL. The problem is that I'm not able to get it to upload to my web server. I'm using these two plugins: org.apache.cordova.file-transfer cordova-plugin-camera When I run the app in xcode simulator and select a picture from the device photolibrary, the console gives me the following messages: File Transfer

Phonegap : FileTransfer.upload() fails on Android

谁说胖子不能爱 提交于 2019-12-28 18:40:29
问题 I'm currently trying to upload a picture to a server with the FileTransfer.upload() method of PhoneGap. It works fine on the iPhone Simulator over Wifi, but fails on an Android phone over 3G or Wifi. alert(error.code) returns '3' but I couldnt find out what this error code is. Did anybody stumbled upon the same problem and managed to solve it ? Please help. 回答1: Error code 3 is a connection error. Recently we made chunked mode the default for uploading on Android. Try setting your options

Error 550 when uploading files to server using filezilla

独自空忆成欢 提交于 2019-12-25 06:47:07
问题 I was uploading some changes to my server, when some file returned with an error 550. I've send more than 500 files withou any problem, but this 14 files simply don't upload. Anyone know how to fix this? 回答1: Local "permissions error" or "file in use" error are the first two thoughts that occur to me... See also: Make sure you're not trying to write to a network share using the Windows "System" account: Filezilla error 550 trying to write files to a network share from the Windows "System"

File transfer in group chat with XMPP

霸气de小男生 提交于 2019-12-25 02:38:17
问题 I am using group chat with open fire. i can able to send messages but how to send file to group with Smack library. i can able to send file to single user with below but i don't know how to send to group chat (MUC) so all users in room will receive that file OutgoingFileTransfer transfer = manager.createOutgoingFileTransfer("usre2@myHost/Smack"); 回答1: Use XEP-0066: Out of Band Data - this is small extension to standard groupchat message with url and description. Other users will receive link