How to Download WeTransfer Files to your Server

posted in: Web & Comp. | 0

How to Download WeTransfer Files to your Server

So, you’ve been sent a WeTransfer link from a colleague or supplier with all the files you need. Click this link to visit WeTransfer.

You need the direct download link, which also has a few bits and bobs in it to tell AWS (WeTransfer uses AWS) which file you need to download and that you are allowed to do so.

These instructions presuppose you are using the Chrome browser. Other browsers are available, but may require different process.

To get the direct download link, click on the WeTransfer download button, to kick off the file downloading. Don’t worry, you don’t need to wait 4 days, or whatever it says, we just need to get WeTransfer to generate the necessary tokens.

Then press Ctrl J to visit your downloads screen in Chrome.

Here you will see the file that is downloading – the file name, and below that, the whole download link. This is what we need. The link. Right click it and click “copy link address”.

Paste that link into a Notepad.

NOTE you will want to work fairly fast, as these download links will expire within a few minutes!

Next open up your Terminal (PuTTy) and navigate to the place you would like to download these files to. I usually use a new folder below the webroot for this, so I know where I put things!

Then use the following command:

1
wget –user-agent Mozilla/4.0 ‘[YOURWETRANSFERLINK]’ -O [FILENAMEYOUWANTFORZIP]

This should kick off a download. If your server is as fast as ours, it should grab a Gigabyte of data in about 10-30 seconds. Which is nicer than waiting several days if your broadband speed is slow.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.