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
6
votes
2 answers

PHP - determine how many bytes sent over http

Is it possible in PHP to get a count of the number of bytes transmitted to the client? For example, if I'm outputting a 10 MB file, is there a way to find out if all 10 MB were sent to the client, or to see if the client interrupted the transfer…
Jay
  • 2,123
  • 1
  • 22
  • 29
6
votes
1 answer

I/O Disk Drive Calculations

So I am studying for an up and coming exam, one of the questions involves calculating various disk drive properties. I have spent a fair while researching sample questions and formula but because I'm a bit unsure on what I have come up with I was…
user1356029
  • 381
  • 1
  • 5
  • 14
6
votes
5 answers

What is going to overtake FTP and why aren't we using it yet?

Is it just me, or does FTP seem a little archaic? It seems slow and inefficient, and its over 30 years old, not that all old things are bad :) What protocols exist out there that might become successors to FTP? I've used webdav a little, but don't…
John B
  • 20,062
  • 35
  • 120
  • 170
5
votes
2 answers

How to get a fast file Hashing algorithm for large files on a mobile device

prologue However one important discovery i make during testing the md5, adler32 and crc32 on a 100Mb file, is that strangely it take the same time. This can only mean one of two thing i guess, that on The Android device, the filesystem is the…
Erik
  • 5,039
  • 10
  • 63
  • 119
5
votes
1 answer

How to implement an HTTP transfer of huge binary files from the file generator to the server (Java)?

Simply put our system consists of a Server and an Agent. The Agent generates a huge binary file, which may be required to be transfered to the Server. Given: The system must cope with files up to 1G now, which is likely to grow to 10G in 2…
mark
  • 59,016
  • 79
  • 296
  • 580
5
votes
2 answers

Phonegap : FileTransfer.upload() fails on Android

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…
Titouan de Bailleul
  • 12,920
  • 11
  • 66
  • 121
5
votes
2 answers

Proftpd verify complete upload

I was wondering whether there was a best practice for checking if an upload to your ftp server was successful. The system I'm working with has an upload directory which contains subdirectories for every user where the files are uploaded. Files in…
JayDL
  • 215
  • 5
  • 12
5
votes
1 answer

Reliable udp in c#

There are several articles on the internet about how to make udp reliable. I have not been able to find one on c#. So maybe I can implement my algorithm. from researching on the internet I believe udp has two problems: it does not ensure that all…
Tono Nam
  • 34,064
  • 78
  • 298
  • 470
5
votes
2 answers

Multiple file uploads with cURL

I'm using cURL to transfer image files from one server to another using PHP. This is my cURL code: // Transfer the original image and thumbnail to our storage server $ch = curl_init(); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch,…
Josh
  • 1,361
  • 5
  • 22
  • 33
5
votes
1 answer

Streaming Audio with Java

I am building an application which collects speech via microphone as wav files. These recordings need to be streamed to a server and saved (as wav files, I know they are big but they have to be wav). I also need to stream audio (these can be mp3)…
Nate Glenn
  • 6,455
  • 8
  • 52
  • 95
5
votes
2 answers

C# .NET Web API What is best practice for file up- and download?

I got a C# .NET Core Web API (REST). I want to implement an endpoint for upload files and one for download files (any file type, as binary). What is best practice for design and code? What I find so far by a search engine is kind of week. Do you…
Frank Mehlhop
  • 1,480
  • 4
  • 25
  • 48
5
votes
3 answers

Download CSV file from assets folder in IONIC 3

I have one demo-file.csv file and it is in the assets/csv folder, so how can I download it from mobile, here is my HTML & COMPONENT code. HTML CODE
5
votes
2 answers

Does ansible transfer files securely?

I'm using Ansible 2.2 to manage some cloud servers from my laptop. I want to transfer an OpenSSL private key to a specific location on one of the servers, to be used by nginx for TLS termination. Naturally, this is a file that should be kept secret,…
izrik
  • 918
  • 2
  • 9
  • 20
5
votes
1 answer

Could not establish socket with any provided host

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…
Lakhan Sharma
  • 1,741
  • 1
  • 12
  • 19
5
votes
5 answers

Transfer From S3 to Google Storage - Incorrect Key

I've been trying for past couple of hours to setup a transfer from S3 to my google storage bucket. The error that i keep getting, when creating the transfer is: "Invalid access key. Make sure the access key for your S3 bucket is correct, or set the…
Mysteryos
  • 5,581
  • 2
  • 32
  • 52