Hot answers tagged

102

Amazon provides their own CLI tools now too. From http://aws.amazon.com/cli/ Using familiar syntax, you can view the contents of your S3 buckets in a directory-based listing. $ aws s3 ls s3://mybucket LastWriteTime Length Name ------------- ------ ---- PRE myfolder/ 2013-09-03 10:00:00 1234 myfile.txt ...


69

Two completely different protocols. FTPS is FTP with SSL for security. It uses a control channel and opens new connections for the data transfer. As it uses SSL , it requires a certificate. SFTP (SSH File Transfer Protocol / Secure File Transfer Protocol) was designed as an extension of SSH to provide file transfer capability, so it usually uses only the ...


32

FileZilla does not have any command line arguments (nor any other way) that allow automatic transfer. See: Command-line arguments (Client) https://trac.filezilla-project.org/ticket/2317 Though you can use any other FTP client that allows automation. For example, WinSCP: https://winscp.net/eng/docs/guide_automation A typical WinSCP script (script.txt)...


27

If you can't (perhaps you're on a shared host) or don't want to install extra tools, it is possible to just use bash, curl, and openssl. http://tmont.com/blargh/2014/1/uploading-to-s3-in-bash file=/path/to/file/to/upload.tar.gz bucket=your-bucket resource="/${bucket}/${file}" contentType="application/x-compressed-tar" dateValue=`date -R` stringToSign="PUT\...


15

FileZilla does not have any command line arguments (nor any other way) that allow automatic transfer. See: FileZilla Client command-line arguments https://trac.filezilla-project.org/ticket/2317 How do I send a file with FileZilla from the command line? Though you can use any other client that allows automation. You have not specified what protocol you are ...


15

This speed refers to the link between you and your ISP. It does not guarantee than you can get that speed from any place on the Internet. Lets create the example where you upload a file from your desktop to a server in London: Data is on your PC. Data leave via your local LAN to the default gateway. (Most likely at 100Mbit/sec or 1Gbit/sec if you have a ...


14

You’ve made a well written, descriptive post. But, it’s written from the perspective that there must be something external to the modem causing the problem. You wrote I am able to see a log of Modem / router #1, which is unfortunately somewhat vague. When the restart happens, it simply states that "Cable Modem Reboot - due to power reset". Nothing ...


12

A POSIX-compliant shell script that requires openssl, curl and sed only; supporting AWS Signature Version 4, which is required for region eu-central-1 (Frankfurt) and recommended for the others: https://gist.github.com/vszakats/2917d28a951844ab80b1 #!/bin/sh -u # To the extent possible under law, Viktor Szakats (vszakats.net) # has waived all copyright ...


11

sftp is a FTP like protocol that operates over SSH. If you are running a linux/bsd/OSX based server, then you almost always already have a perfectly functional sftp server already. On the Windows side you basically are looking at Filezilla, WinSCP, or Putty as a client. ftps is the original ftp protocol with TLS enhancements. ftps works very badly through ...


11

Bits vs Bytes Bit = A Single 1 or 0 = _ Byte = 8 1's or 0's = _ _ _ _ _ _ _ _ To get [Bytes per Second] (or megabytes, giga, etc) Simply take ___ Bits and divide by 8 Storage is measured in bytes, why? Bytes are [Data] because a Byte, being 8 1's and 0's add up to make [A Single Letter] Letters are information to a computer. But a single bit means ...


10

Open Windows CMD, type ftp and these commands: ftp> open 123.4.567.89 ftp> user ftp_username ftp_password ftp> cd folder1/folder2 ftp> quote pasv ftp> binary ftp> send C:\uploadfile.txt ftp> disconnect ftp> quit 123.4.567.89 is the IP of your FTP server ftp_username is the username to login on your FTP server ftp_password is ...


9

Sorry, I cannot comment (needs 50 Reputation). As Julian mentioned, you can use WebDAV. This is also enabled for non business accounts; use the URL https://dav.box.com/dav. The folder can not seem to be mounted in windows: http://www.onemetric.com.au/Documentation/Mounting-A-WebDAV-Share-Windows-7 I think this is a Web Server problem. But you can use curl: ...


8

I'm accepting @ScottChamberlain's answer as searching the term "fairness" led me to another set of terms, "choking" and "unchoking," which in turn led me to a definitive answer in the BitTorrent Protocol Specification (Cohen, Bram. October 20, 2012.) Choking is done for several reasons. TCP congestion control behaves very ...


8

This is not possible. Acknowledgements are an integral part of Transmission Control Protocol. If you split incoming and outgoing data distinctly between two interfaces you would be inherently disabling the acknowledgement component of the protocol. TCP is a connection-oriented protocol, which means a connection is established and maintained until the ...


8

Although it is practically impossible to separate upload and download between connections (as described in details in other answers) there is possible manual workaround. You can manipulate default connection, switching it depending on task you wish to start. Default connection on Windows is first connected interface, its order is calculated by Metric (...


7

Box supports WebDAV, FTP (only for business and enterprise customers) and has an API. So you could either use a tool to mount the WebDAV entry as a drive, use FTP from the command line or install something like cURL and use the API from the command line. Note that the main support for the API is listed as being via StackOverflow! Obviously, if you have Box ...


7

I would change you script like so: #!/bin/sh for file in /folder/path/* do curl -u username:password -T ${file} http://www.example.com/folder/${file} done Note that the for-loop variable file is used with curl. Better way is to upload using find + curl (as was answered on SO): find /folder/path/ -name '*' -type f -exec curl -u USERNAME:PASSWORD -T {}...


6

I've recently installed Apache HTTP server on my computer. I have two questions: When I enter my IP from the browser, I see a list of files/directories, just like in a FTP server. Is that a built in feature of Apache or Chrome browser? That is a function of Apache. By default, the mod_dir module is loaded and the Indexes option is enabled. The effect ...


6

You don't upload a file using Bittorrent. You distribute it. To distribute it, you need to: Select a tracker or two for the torrent Use any "create torrent" function in your software to make the torrent, referencing the file you want to distribute. Open this torrent in your own torrent software. You'll see it says 100%. This is what you want. You are ...


6

I just tried using s3tools (s3cmd-1.5.0-rc1). Got this hint from their FAQ http://s3tools.org/kb/item13.htm. See below. Does s3cmd support multipart uploads? Yes, the latest version of s3cmd supports Amazon S3 multipart uploads. Multipart uploads are automatically used when a file to upload is larger than 15MB. In that case the file is split ...


4

While, in some cases, you can use the Windows command-line ftp.exe client, as the answer by @nixda shows, in most cases you cannot. The ftp.exe does not support a passive mode, what makes it useless nowadays, when connecting over Internet due to ubiquitous firewalls and NATs. Also nowadays you better use FTPS (an encrypted variant of FTP), what is also not ...


4

It depends on the protocol you are using to transfer files. Usually it is already done transparently. HTTP (and HTTPS) protocol supports on-the-fly compression, provided that both server and client implements it. First of all, client will let server knows which type of compression it supports. Typical HTTP request header includes a line like Accept-...


4

You can use Rclone - it is an open source tool developed at GitHub: http://rclone.org rsync for cloud storage - it is a command line program to sync files and directories to and from Google Drive and many other cloud hosts. Here is the Rclone Google Drive page: http://rclone.org/drive


4

It's possible to use both internet accesses to share the load of download/upload, but always only per connection. So one TCP (or UDP) connection can go only via one link. This is mentioned also in the other answer - for outgoing TCP packets you must receive acknowledgement packets and these must go via the same interface. You could manually alter the ...


4

Dropbox uses chunks to upload files in segments. When a file transfer is aborted, it will reupload the chunks that were not uploaded succesfully, but not the whole file. See also dropbox api: chunkeduploader


4

There are two different things that you can measure. One is the line speed, typically measured in decimal bits per second. The other is the effective data rate, usually measured in binary bytes per second. For example what is "gigabit Ethernet"? It is Ethernet with a line speed of one billion bits per second. How fast will data flow over gigabit Ethernet? ...


4

If you are programming a NodeJS server yourself you can decide what error code to return. But you have to know what error code stands for what. e.x If I mail you about getting error code 406 you would have to know what error it could be. For a user its easier to just return a message like "Error file uploading has failed please try again later." now the ...


3

Using task-manager, exit all processes associated with the Upload Center delete all contents in the temporary folder i.e. C:\Users\yourusername\AppData\Local\Microsoft\Office\15.0\OfficeFileCache ref: http://answers.microsoft.com/en-us/office/forum/office_365hp-office_storage/microsoft-office-upload-center-stuck/42064b0c-1bfb-46d8-9fc9-56a50c006817?...


3

Yes, in fact that is the default behavior most bittorrent clients. The term that is most often used for this behavior is "fairness", most clients don't let you turn it on and off.


3

As far as I know, it's not possible for a seeder to know who is sharing, what they have downloaded, so seeds normally upload to random leechers. However, when choosing who to upload, what parts they already have, other leechers give preference to those who have given them the most, so removing your upload cap will probably rank you higher in other leechers' ...


Only top voted, non community-wiki answers of a minimum length are eligible