A bit of ngrok to share files

I needed to share some big files with a friend / colleague who lives some hours away. Couriers were not available at this time and I felt a bit “command line happy”, so with

python -mSimpleHTTPServer

I started a web server at the directory where the files were generated. I did not feel like playing around with NAT and port forwarding, so I turned to ngrok (still faster than running localtunnel):

ngrok http –region eu 8000

Done. Ain’t this the security manager’s nightmare, or what?

Now I need to find time for my own version of localtunnel (because NIH).

One thought on “A bit of ngrok to share files

  1. I love it. I had this same idea yesterday. However, I’m going to use Node.js

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s