easy บอกข่าวมา มันคืออะไรอะครับ

เริ่มโดย paradox_073, 14 ธันวาคม 2007, 13:02:39

หัวข้อก่อนหน้า - หัวข้อถัดไป

0 สมาชิก และ 1 ผู้มาเยือน กำลังดูหัวข้อนี้

paradox_073

2007-12-12 - Ftp upload api is now available to everyone. For instructions go to http://www.easy-share.com/cgi-bin/owner.cgi?action=api&user=YOURLOGIN&pass=YOURPASS
replace YOURLOGIN/YOURPASS with your username/password

  getafile - returns a list of uploaded files
  commitnum - returns number of files ready to commit
  file_commit - commits ftp uploaded files

เข้าไปตามที่มันบอกมา ก็มี code เพียบเลย เราจะใช้ประโยชน์อะไรจากมันได้บ้างครับ  :P

เกรียนเทพ


visavavit

มันเป็น api อะครับ
Application_programming_interface
เหมือน code ที่ใช้ในการรันอะไรบางอย่าง

อย่างตรงนี้ก็เป็น
http://www.easy-share.com/cgi-bin/owner.cgi?action=api&user=XXX&pass=XXX&command=getfilelist
List ไฟล์ที่เพิ่งอัพโหลดใน 24 hr [ default ]

หรืออย่างอื่นก็
Examples:
       action=api&user=YOURLOGIN&pass=YOURPASS&command=getfilelist - list of files, uploaded last 24 hours
       action=api&user=YOURLOGIN&pass=YOURPASS&command=getfilelist&uploadedon=20070101-20070531&template={filename}|{downloadurl} - list of urls and files, uploaded between Jan 1,2007 - May 31,2007

commitnum - returns number of files ready to commit
usage: action=api&user=YOURLOGIN&pass=YOURPASS&command=commitnum

file_commit - commits ftp uploaded files
usage: action=api&user=YOURLOGIN&pass=YOURPASS&command=file_commit
[direct=https://www.soomsiang.com/]แอปสุ่ม เว็บสุ่ม สุ่มชื่อ สุ่มร้านอาหาร เกมสุ่ม[/direct]

BosnoS


khwun

ใช้ CGI Code ส่ง USER Password แบบนี้ดักง่ายดีนะ
แสดงให้เห็นถึงความอ่อนหัดของทีมงานเลย
ใครใช้วิธีนี้ Upload File ระวังโดนขโมย Account