Skip to content
/ pydl Public

This shell script could download file via (python3 -m http.server)

License

Notifications You must be signed in to change notification settings

Alopex4/pydl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

what is pydl

pydl means [ python donload ]

If you know python well. You may know that, python has a simple HTTP server.

You could active it via below command:

  • python2
$ python -m SimpleHTTPServer [port]
  • python3
$ python3 -m http.server [port]

*: If you omitted the port, the port default value is 8000 .

The traditional download way (If your network speed is fine, that's ok).

open browser --> enter "http://ip:8000/" --> select file to download

image

IF you prefer CLI, this script is built for you.

$ chmod +x pydl.sh

Execute the script

$ ./pydl <ip> [port]

image

Download a file

image

Key interactive usage

image

Enter a directory

image

Go to Previous directory

image

Exit the script

image

About

This shell script could download file via (python3 -m http.server)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages