K
Kind
สมาชิกใหม่
สมาชิกรุ่นแรก
สมาชิก
LV
1
เราจะเห็น curl หรือ wget กันเยอะ
ประโยชน์ที่เห็นได้บ่อย คือเอาไว้ใช้ download file จากที่อื่นๆ
curl => command line tool and library for transferring data with URLs.
wget => a free command-line utility for transferring files using HTTP/HTTPS, FTP, and FTPS
What both commands do
- both can send HTTP POST requests
- both support HTTP cookies
- both support HSTS and HTTP proxy
- both are designed to work without user interaction
- both are fully open source and free software
- both projects started in 1996 (under other names)
- both are portable and run on many operating systems
- both are command line tools that can download contents from FTP, HTTP(S)
.
และดูเหมือน curl จะดีกว่า
.
wget : https://www.gnu.org/software/wget/
curl : https://curl.se/
comparison : https://daniel.haxx.se/docs/curl-vs-wget.html
cr: แชร์ความรู้ webdev