Questions tagged [file-transfer]

Is a generic term for the act of transmitting files over a computer network or the Internet.

Is a generic term for the act of transmitting files over a computer network or the Internet. There are numerous ways and protocols to transfer files over a network. Computers which provide a file transfer service are often called file servers. Depending on the client's perspective, the data transfer can be called uploading or downloading.

1842 questions
5
votes
4 answers

How to get mimeType from Cordova File Transfer Plugin?

I am developing hybrid mobile application. In one of the scenario we need to fetch mimeType from a file when we select or upload a file. I am using apache FileTransfer. window.resolveLocalFileSystemURL(fileURI , resolveOnSuccess, resolveOnFail)
5
votes
2 answers

Abort gsutil transfer

I am transferring a folder containing 100+ heavy files (several hundred MB) gsutil to my google cloud storage (Nearline). I've made a mistake in path of the destination folder. So I am looking for a way to abort the transfer. Here is the command I…
MagTun
  • 5,619
  • 5
  • 63
  • 104
5
votes
1 answer

Measuring wifi file-transfer speed in python

I am trying to measure the speed of file transfer through sockets in python. I set up measurements on both ends (sending and receiving side) and get somewhat different results (i.e. 16 vs 17 Mbps for a 1MB file transferred via ad-hoc wifi). My…
Milan C.
  • 142
  • 1
  • 12
5
votes
2 answers

Cordova's FileTransfer Writing Error (Code 1)

I'm using Cordova 4.2.0 for Android. I have some troubles to get FileTransfer plugin work properly. I suppose that there is a writing error exception:".myApp\/contentImages\/20150110220101.jpg: open failed: ENOENT (No such file or…
Yako
  • 3,405
  • 9
  • 41
  • 71
5
votes
1 answer

Cordova multiple image upload with File Transfer

I'm on a cordova and jquery mobile project. I've been able to upload one image with file transfer plugin. Now i try to upload 2 or 3 images following. here is the html code:
Malakiof
  • 98
  • 6
  • 18
5
votes
0 answers

File Transfer using xmpp jabber server

I am implementing a chat application. I want to transfer a file but I keep getting TURN Connection failed! I am using the below code: XMPPJID *jid = [XMPPJID jidWithString:@"user@krishanyadav.local/resourceID"] ; TURNSocket *turnSocket =…
BalKrishan Yadav
  • 467
  • 7
  • 21
5
votes
0 answers

PHONEGAP/WP8: FileTransfer not sending session cookies

The server I'm using sends the session id with a http-only cookie. To make this working on WP8, I already enabled cookies in the internet explorer settings of the device. This works well for all my AJAX-requests. But now i have to download a file…
user1448982
  • 1,200
  • 3
  • 12
  • 22
5
votes
2 answers

Transfer NSString between two devices via bluetooth in iOS

I want to transfer NSString between two iOS device, via bluetooth. Can anybody please help how to do transfer NSString via bluetooth? I searched for specific answer and for sample code, but couldn't find it. Please guide me. Thanks in Advance.!!
Dishant
  • 917
  • 2
  • 8
  • 25
5
votes
4 answers

Java: BufferedReader reads more than a line?

I'm making a program in Java with Sockets. I can send commands to the client and from the client to the server. To read the commands I use a BufferedReader. To write them, a PrintWriter But now I want to transfer a file through that socket (Not…
Martijn Courteaux
  • 67,591
  • 47
  • 198
  • 287
5
votes
0 answers

File Transfer: show file size 0KB while transferring file using smack in Android

Getting Problem while file transfer in android using Smack library and open-fire Server,Empty file is received on other device while transferring file one device to another,its show the 0KB size.when i opened it,its shows blank screen.i does not…
Nitish Singla
  • 171
  • 1
  • 8
5
votes
0 answers

Sending Pictures like WhatsApp

I have made a chatting application. I want to add photo/file sharing concept in my application same as WhatsApp. I have made the app using Xmpp/Openfire and current now I am using this function for photo sharing, but it is not all reliable : public…
Gaurav Arora
  • 8,282
  • 21
  • 88
  • 143
5
votes
2 answers

android phonegap camera and image uploading

I have been trying to make this work, searched google and here since Friday. My ultimate goal is to be able take multiple pictures with a title and description for each and upload them to a server, then display on a web page. What I have so far is:…
quick_learner42
  • 396
  • 2
  • 4
  • 13
5
votes
1 answer

Which compression type should i choose in SharpZipLib?

I have a File Transfer Application that sends files and folders. (Server - client) I am trying to send data over TCP (sockets), I've made some rules for the way of transferring the data, so if it's sending a large folder that has many files, it…
Murhaf Sousli
  • 12,622
  • 20
  • 119
  • 185
4
votes
1 answer

C- Socket : Programming a Client/Server-Application to send a file

I want to program an application to send a file with sockets: Here my Server: void str_server(int sock) { char buf[1025]; const char* filename="test.text"; FILE *file = fopen(filename, "rb"); …
JavaNullPointer
  • 1,199
  • 5
  • 21
  • 43
4
votes
1 answer

FTP with PHP To Download Multiple Files

I have written Following code to connect to FTP, which gives me an error "Warning: preg_match() [function.preg-match]: Unknown modifier 'p'"
user580950
  • 3,558
  • 12
  • 49
  • 94