Вверх ↑
Ответов: 1429
Рейтинг: 50
#1: 2011-05-25 23:15:41 ЛС | профиль | цитата
CriDos, Закачалооо!! Спасибо! Огромное!!

Вот такой рабочий итог:

Add(MultiElementEx,5684858,854,588)
{
@Hint=#24:Заливает файл на сервер.|
AddHint(155,-61,149,13,@Hint)
}
BEGIN_SDK
Add(EditMultiEx,8183356,21,21)
{
WorkCount=#8:doString|
EventCount=#6:onRead|
Width=1175
Height=809
link(doString,14680167:In,[])
}
Add(GlobalVar,12591136,707,231)
{
Name="Auth"
}
Add(Memory,10087148,728,147)
{
@Hint=#17:Имя файла с диска|
Default=String(asd.3gp)
AddHint(-46,-36,114,13,@Hint)
}
Add(GlobalVar,10841961,714,210)
{
Name="name_program"
}
Add(GlobalVar,13216441,721,189)
{
Name="programmer_key"
}
Add(TCP_Client,14002048,938,322)
{
Port=80
link(onDisconnect,8183356:onRead,[(1083,342)(1083,27)])
link(IP,13459633:Value,[])
}
Add(StrCat,2842714,700,315)
{
link(onStrCat,9007589:doStrCat,[])
link(Str1,9913252:FString,[])
}
Add(FormatStr,9913252,700,266)
{
@Hint=#11:Заголовок:)|
DataCount=5
Mask="POST /feeds/api/users/default/uploads HTTP/1.1
Host: uploads.gdata.youtube.com
Authorization: GoogleLogin auth=%2
GData-Version: 2
X-GData-Client: %3
X-GData-Key: key=%4
Slug: %5
Content-Type: multipart/related; boundary="f93dcbA3"
Content-Length: %1
Connection: close

"
Point(FString)
link(Str1,6341646:Result,[(706,255)(690,255)(690,308)(657,308)])
link(Str2,12591136:Var,[])
link(Str3,10841961:Var,[])
link(Str4,13216441:Var,[])
link(Str5,10087148:Value,[])
AddHint(43,7,75,13,@Hint)
}
Add(StrCat,9007589,763,315)
{
Str2="
--f93dcbA3--"
link(onStrCat,11519965:doEvent1,[])
}
Add(Convertor,4659242,315,301)
{
Mode=11
link(onResult,1544922:doEvent1,[])
}
Add(FileStream,9520456,259,301)
{
link(onLoad,4659242:doConvert,[])
link(FileName,14631218:Value,[])
}
Add(Memory,14631218,259,252)
{
@Hint=#31:Имя файла с диска, для отправки|
Default=String(C:\roliki\asd.3gp)
AddHint(-82,-29,188,13,@Hint)
}
Add(Hub,12597001,224,301)
{
link(onEvent1,9520456:doOpen,[])
link(onEvent2,9520456:doClose,[])
}
Add(Hub,16165186,896,322)
{
link(onEvent1,14002048:doOpen,[])
link(onEvent2,14002048:doSend,[(924,335)(924,342)])
}
Add(StrCat,206486,483,308)
{
Str1="--f93dcbA3
Content-Type: application/octet-stream
Content-Transfer-Encoding: binary

"
link(onStrCat,748632:doEvent1,[])
link(Str1,288390:FString,[])
}
Add(Length,6341646,651,266)
{
link(onLength,9913252:doString,[])
}
Add(Hub,748632,567,308)
{
link(onEvent1,298124:doStrCat,[(596,314)(596,272)])
link(onEvent2,2842714:doStrCat,[])
}
Add(LineBreak,9072291,182,301)
{
link(Out,12597001:doEvent1,[])
Primary=[14680167,-147,-280]
}
Add(Host,10674390,896,259)
{
link(onIPByHost,13459633:doValue,[])
link(HostName,12624618:Value,[])
}
Add(Memory,12624618,903,217)
{
Default=String(gdata.youtube.com)
}
Add(Memory,13459633,938,266)
{
Default=String(www.google.com)
}
Add(FormatStr,288390,483,259)
{
@Hint=#6:1. Имя|11:2. Описание|7:3. Теги|21:4. Тип файла на диске|
DataCount=4
Mask="--f93dcbA3
Content-Type: application/atom+xml; charset=UTF-8

<?xml version="1.0"?>
<entry xmlns="http://www.w3.org/2005/Atom"
xmlns:media="http://search.yahoo.com/mrss/"
xmlns:yt="http://gdata.youtube.com/schemas/2007">
<media:group>
<yt:private/>
<media:title type="plain">%1</media:title>
<media:description type="plain">
%2
</media:description>
<media:category scheme="http://gdata.youtube.com/schemas/2007/categories.cat">Entertainment</media:category>
<media:keywords>%3</media:keywords>
</media:group>
</entry>
--f93dcbA3
Content-Type: %4
Content-Transfer-Encoding: binary

"
Point(FString)
link(Str1,15545438:Value,[(489,247)(398,247)])
link(Str2,11958762:Var,[(496,240)(454,240)])
link(Str3,13879391:Var,[])
link(Str4,4843635:Value,[(510,247)(566,247)])
AddHint(66,-132,114,52,@Hint)
}
Add(Memory,4843635,560,196)
{
Default=String(application/octet-stream)
}
Add(GlobalVar,11958762,448,217)
{
Name="description"
}
Add(GlobalVar,13879391,497,196)
{
Name="tegs"
}
Add(Memory,15545438,392,196)
{
@Hint=#44:Имя трека в инете, аналогично имени на диске|
Default=String(asd.3gp)
AddHint(-77,-40,177,26,@Hint)
}
Add(Hub,1544922,441,301)
{
link(onEvent1,288390:doString,[(469,307)(469,265)])
link(onEvent2,206486:doStrCat,[])
}
Add(Hub,11519965,861,315)
{
link(onEvent1,10674390:doIPByHost,[(885,321)(885,272)])
link(onEvent2,16165186:doEvent1,[])
}
Add(StrCat,298124,609,266)
{
Str2="
--f93dcbA3--"
link(onStrCat,6341646:doLength,[])
}
END_SDK


карма: 0

0