網路傳輸工具 curl
可透過command line 來達到傳輸檔案.
透過http 續傳一個檔案 :
curl -O "-C -" "http://ardownload.adobe.com/pub/adobe/reader/pase/3.x/zh_tw/psa30se_a708_DLM_zh_tw.exe"
登錄網頁 get :
curl -d "userid=admin&passwd=&Submit=LOGIN" http://192.168.2.1/index.htm
curl "http://192.168.2.1/index.htm?userid=admin&passwd=&Submit=LOGIN"
透過網頁上傳檔案:
curl -F "vxworks_new=@C:\curl_715_5\zz-img.bin" http://192.168.2.1/upgrade_firm_local
登錄網頁 get :
curl -d "userid=admin&passwd=&Submit=LOGIN" http://192.168.2.1/index.htm
指定透過某一張網卡出去:
curl --interface 192.168.1.123 http://tw.yahoo.com
查看FTP檔案:
curl -l "ftp://127.0.0.1"
抓檔案另存新檔:
curl -o "test" "http://ardownload.adobe.com/pub/adobe/reader/pase/3.x/zh_tw/psa30se_a708_DLM_zh_tw.exe"
抓成檔案:
curl -O "http://ardownload.adobe.com/pub/adobe/reader/pase/3.x/zh_tw/psa30se_a708_DLM_zh_tw.exe"
分割檔案抓取:
curl -O -r 0-1000 "http://ardownload.adobe.com/pub/adobe/reader/pase/3.x/zh_tw/psa30se_a708_DLM_zh_tw.exe"
連接telnet:
curl -t TTYPE=vt100 telnet://192.168.1.100
ftp上傳:
curl -T "test" -u anonymous:a@ ftp://127.0.0.1/test
dos mode ,可透過外部程式來執行.
http://curl.haxx.se/
curl is a command line tool for transferring files with URL syntax, supporting FTP, FTPS, HTTP, HTTPS, SCP, SFTP, TFTP, TELNET, DICT, LDAP, LDAPS and FILE. curl supports SSL certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP form based upload, proxies, cookies, user+password authentication (Basic, Digest, NTLM, Negotiate, kerberos...), file transfer resume, proxy tunneling and a busload of other
透過http 續傳一個檔案 :
curl -O "-C -" "http://ardownload.adobe.com/pub/adobe/reader/pase/3.x/zh_tw/psa30se_a708_DLM_zh_tw.exe"
登錄網頁 get :
curl -d "userid=admin&passwd=&Submit=LOGIN" http://192.168.2.1/index.htm
curl "http://192.168.2.1/index.htm?userid=admin&passwd=&Submit=LOGIN"
透過網頁上傳檔案:
curl -F "vxworks_new=@C:\curl_715_5\zz-img.bin" http://192.168.2.1/upgrade_firm_local
登錄網頁 get :
curl -d "userid=admin&passwd=&Submit=LOGIN" http://192.168.2.1/index.htm
指定透過某一張網卡出去:
curl --interface 192.168.1.123 http://tw.yahoo.com
查看FTP檔案:
curl -l "ftp://127.0.0.1"
抓檔案另存新檔:
curl -o "test" "http://ardownload.adobe.com/pub/adobe/reader/pase/3.x/zh_tw/psa30se_a708_DLM_zh_tw.exe"
抓成檔案:
curl -O "http://ardownload.adobe.com/pub/adobe/reader/pase/3.x/zh_tw/psa30se_a708_DLM_zh_tw.exe"
分割檔案抓取:
curl -O -r 0-1000 "http://ardownload.adobe.com/pub/adobe/reader/pase/3.x/zh_tw/psa30se_a708_DLM_zh_tw.exe"
連接telnet:
curl -t TTYPE=vt100 telnet://192.168.1.100
ftp上傳:
curl -T "test" -u anonymous:a@ ftp://127.0.0.1/test
dos mode ,可透過外部程式來執行.
http://curl.haxx.se/
curl is a command line tool for transferring files with URL syntax, supporting FTP, FTPS, HTTP, HTTPS, SCP, SFTP, TFTP, TELNET, DICT, LDAP, LDAPS and FILE. curl supports SSL certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP form based upload, proxies, cookies, user+password authentication (Basic, Digest, NTLM, Negotiate, kerberos...), file transfer resume, proxy tunneling and a busload of other
留言
張貼留言