Questions tagged [upload]

Upload refers to the sending of data from a local system to a remote system such as a server or another client with the intent that the remote system should store a copy of the data being transferred, or the initiation of such a process

Upload refers to the sending of data from a local system to a remote system such as a server or another client with the intent that the remote system should store a copy of the data being transferred, or the initiation of such a process.

Use if you having trouble to upload data of files with fixed file sizes. But for continuous transmission use tags with stream like or the library specific tags like , , etc.

Important Hint

In web development, there is a common mistake beginners often make during coding forms for uploading files. This mistake is not supplying the enctype attribute in the form tag, or supplying it in a form's element instead of supplying it in the form tag itself. To ensure that the form is going to submit files the form tag should be something like the following:

<form method="post" action="some/server/side" enctype="multipart/form-data">
... The form's elements...
</form> 
14140 questions
3
votes
1 answer

AWS.S3.upload() 403 Error When Attempting Multipart Upload

TL;DR When attempting to upload a file directly from the browser using the s3.upload() method provided by the AWS SDK for Javascript in the Browser combined with temporary IAM Credentials generated by a call to AWS.STS.getFederationToken()…
AJB
  • 7,389
  • 14
  • 57
  • 88
3
votes
0 answers

React Native and XMLHttpRequest - Upload Progress bar

I'm using XMLHttpRequest to upload images to my server in a post request and the images are in base64 format. I looked all over the web and found that i can add a "progress" event to the upload. but it only fires when upload is complete... how can I…
Scianid
  • 143
  • 9
3
votes
0 answers

Handling file upload prompt in iOS 11.1 using Appium

I am trying to automate file upload using Appium. Below is the code I am using (Java): public class DownloadLocal { public static void main(String[] args) throws MalformedURLException, InterruptedException { DesiredCapabilities caps = new…
BountyHunter
  • 1,413
  • 21
  • 35
3
votes
2 answers

PHP Post data not received

i'm currently working on a small script for my Homepage but i ran into a problem. I Try to upload an Image, but it seems like the POST data from the form is not being received. What did i do wrong? I already changed the post_max_size and…
Nils.
  • 39
  • 3
3
votes
3 answers

How To Disable Uploading Within a Time Limit

How can I keep a client from uploading more after having uploaded something within a time limit? Based on IP address.
user580889
  • 67
  • 1
  • 3
3
votes
1 answer

How do I upload the app updates in the new iTunes Connect UI

I was just going to update my iPhone app. I've added the "What's New in this version" info and update everything but I can't figure out where to upload the app itself. Can anyone help me with this?
Tapy
  • 1,044
  • 6
  • 17
  • 30
3
votes
5 answers

Uploaded picture in TMP is without file extension?

Please, After uploading picture, file is still in TMP folder, and when I echo: $_FILES['file']['tmp_name'] Im getting, for example: /tmp/phpZnmIfT So uploaded picture is without extension?! Is this "normal" or some Php GD configuration is…
Bobo
  • 197
  • 1
  • 2
  • 7
3
votes
4 answers

Codeigniter: Image Upload

I have a large form, and I just added an file input to allow users to upload an image. Here's the new HTML: Here's the new _submit…
Kevin Brown
  • 12,602
  • 34
  • 95
  • 155
3
votes
1 answer

How to use non valid identifiers as django form field names

I am not sure if I should post this question here or in serverfault since it involves both django and nginx configuration files. I have a django view that receives POST data from a form that contains file fields. The request goes through an nginx…
Daniel Gollás
  • 1,044
  • 2
  • 10
  • 18
3
votes
0 answers

upload files by using FILE-URI distination to firebase storage in Ionic 2

Is possible to upload files such as images, txt, pdf on firebase storage by using FILE-URI distination (local path) ? For example, How can I edit this uploading images function to upload files by using local path , and is possible to upload other…
Ali H
  • 903
  • 14
  • 36
3
votes
3 answers

Laravel: How to save images to public folder?

I am having trouble uploading a user image to my public folder. The file name generates correctly, and saves the name to my database, except the iamge itself refuses to get saved into my public folder. What am I doing wrong? public function…
jlim
  • 91
  • 4
  • 11
3
votes
2 answers

Zip a directory and upload to FTP server without saving the .zip file locally in C#

My question is the title. I have tried this: public void UploadToFtp(List ProductData) { ProductData.ForEach(delegate( strucProduktdaten data ) { ZipFile.CreateFromDirectory(data.Quellpfad, data.Zielpfad,…
ARX
  • 287
  • 1
  • 5
  • 11
3
votes
3 answers

Laravel - store() method suddenly not working

I have a file upload method for a single image working properly, using the following code: $file = $request->file('file'); if ($file && $file->isValid()) { $photo['size'] = $request->file('file')->getClientSize(); $path =…
jacques mouette
  • 363
  • 3
  • 8
3
votes
2 answers

react native upload image as a file

I am having trouble uploading an image from my react native app. I have a react app that uploads images to the backend using as a file. The web app uploads to the backend like File {name: "413_loveis_takingcareofu_wm.jpg", lastModified:…
Kelvin
  • 2,218
  • 4
  • 22
  • 41
3
votes
1 answer

Uploading file in sharepoint library throws an unhandled exception(hresult: 0x80020009, errorcode: -2147352567) with empty error message

I m using following code sample to upload multiple files (using sharepoint Object Model, no webservice) in a document library, but some times it throws exception hresult: 0x80020009, with error code -2147352567 and error message is empty (empty…
Alex
  • 31
  • 1
  • 3