Questions tagged [upload]

Upload means 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.

332 questions
46
votes
4 answers

PSCP: Upload an entire folder, Windows to Linux

I am using PSCP to upload some files from Windows to Linux. I can do it fine just uploading one file at a time. But I have some very large directories and I want to upload an entire directory at once. I have tried: pscp -i…
Mechlar
  • 607
  • 1
  • 7
  • 10
31
votes
5 answers

How to upload a directory recursively to an FTP server by just using ftp or lftp?

I am writing a Linux shell script to copy a local directory to a remote server (removing any existing files). Local server: ftp and lftp commands are available, no ncftp or any graphical tools. Remote server: only accessible via FTP. No rsync nor…
Nicolas Raoul
  • 1,314
  • 7
  • 22
  • 43
16
votes
4 answers

How can I create a user only for sftp?

I have added a user to the system via the adduser tool. Then, in /etc/passwd, I tried changing the /bin/bash to /sbin/nologin or to /dev/null, but neither of these worked. I would like the user not having the option to get an interactive shell, and…
Toni Rosa
  • 181
  • 1
  • 2
  • 8
14
votes
2 answers

How do I install automake and autoconf on RedHat Enterprise 5?

I am attempting to install "uploadprogress" for a PHP application, and have failed on dependencies. Firstly, on phpize, then php-devel, then on autoconf and automake. I have tried yum, and various repositories, with no luck. I think it's to do with…
Kevin Sedgley
  • 394
  • 1
  • 2
  • 11
12
votes
3 answers

Nginx client_max_body_size per location block (with php frontcontroller pattern)

I am looking for a solution for this problem. I understand the reasoning why the setup in that question does not work, but I try to get to a solution where I can get it working. The idea is to allow large file uploads only on certain urls. I can use…
Jurian Sluiman
  • 291
  • 6
  • 17
10
votes
1 answer

How to detect or log interrupted uploads with OpenSSH SFTP server?

I have this problem where a customer of ours has been SFTP-ing truncated data. I'm not sure if the problem is on our end or his. I've enabled SFTP logging but it does not allow me to detect if an upload has been interrupted. For example, if I fire…
surj
  • 243
  • 4
  • 15
10
votes
1 answer

iproute multiple ADSL load balancer through VM

For a long time (2 years?) I have been running a virtual machine (Ubuntu 12.04 server) with a very basic outbound load balancing capability, sending different outbound connections out different ADSL routers. Configured simply by using iproute with…
Drew Anderson
  • 398
  • 1
  • 4
  • 12
10
votes
1 answer

Reliable file transfer over slow or flaky network link

I need to transfer a number of files files over a low-quality broadband link to a server. The files are large, and take approximately 30 minutes to transfer per file. I use scp, but it sometimes hangs -- the transfer doesn't fail with an error, it…
user1219721
  • 467
  • 1
  • 6
  • 15
9
votes
3 answers

Limit upload file size and redirect user to error page if limit exceeds

Is it possible to redirect user to file file too big page when POST request size exceeds specified limit? I am aware about max-request-size option, but it gives just static page that cannot be overloaded. I am thinking to create a rewrite rule which…
jonny
  • 357
  • 1
  • 3
  • 14
8
votes
2 answers

ColdFusion settings for large file uploads

I'm trying to set up a coldfusion server to accept uploads of large files, and I'm bumping into some limits. Here's what I've observed so far: There are two settings in ColdFusion Administrator that limit the size of uploads: "Maximum size of post…
user193597
8
votes
6 answers

Allow anonymous upload for Vsftpd?

I need a basic FTP server on Linux (CentOS 5.5) without any security measure, since the server and the clients are located on a test LAN, not connected to the rest of the network, which itself uses non-routable IP's behind a NAT firewall with no…
user15318
  • 255
  • 1
  • 3
  • 7
8
votes
1 answer

Is there any good reason not to increase upload_max_filesize and post_max_size?

As the sysadmin of a LAMP box I am being asked to raise the upload capacity of php/html forms to something around 70 MB. I believe the server can handle it since it has two quad cores and 4 Gig RAM. I also don't have any costly bandwidth limitation.…
damusnet
  • 325
  • 1
  • 2
  • 11
7
votes
1 answer

AWS Elastic Beanstalk File Upload Limit Issue

I'm having an issue on an AWS Elastic Beanstalk instance, whereby I can't seem to upload a PDF file that is 6MB in size. First, let me provide a bit more background: The application running is an Expression Engine (EE)…
Cian Leonard
  • 81
  • 1
  • 4
7
votes
3 answers

How to set default umask for Tomcat webdav servlet?

The title says it all. I need Tomcat's webdav servlet to create files with rw-rw-r-- rights, but it keeps creating it as rw-r--r--. I tried to set up umask in /etc/profile, but it didn't help (although manualy created new files has desired…
calavera.info
  • 173
  • 1
  • 1
  • 3
6
votes
1 answer

IIS randomly returns 413 Request Entity Too Large when uploading large files and using TLS

I have an ISAPI application running on IIS, which is meant to support uploads of files of any size. On one server, uploads seemingly randomly fail with 413 Request Entity Too Large or time out when using HTTPS, and the only remedy seems to be…
Florian Winter
  • 204
  • 1
  • 2
  • 10
1
2 3
22 23