• THMOD02: โปรดระมัดระวังอย่าให้ข้อมูลที่เป็นส่วนตัวแก่สมาชิกใดๆ หลีกเลี่ยงการรับชำระเงินผ่านธนาคารไทย หลีกเลี่ยงการสนทนาจากผู้ที่ต้องการนัดพบเจอ! เราไม่สนับสนุนดีลที่ไม่ปลอดภัย! หากคุณมีหลักฐานสามารถรายงานมายังเจ้าหน้าที่ เราจะดำเนินการแบน User อย่างถาวร! เราพยายามปกป้องความเสี่ยงของสมาชิกที่ได้รับการยืนยันจากเรา

เราจะเห็น curl หรือ wget กันเยอะ

K

Kind

สมาชิกใหม่
สมาชิกรุ่นแรก
สมาชิก
LV
1
 
คะแนนธุระกิจ
0
รางวัล
6
เครดิต
$0.02
299803812_151264247582412_4459370651751955719_n.png


เราจะเห็น 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
 
Top