[go: up one dir, main page]

Menu

[0713af]: / anal / send_www.m  Maximize  Restore  History

Download this file

16 lines (15 with data), 324 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
function send_www
global webfile
l=length(webfile);
if l>0 & isunix
[i,d]=unix('ps | grep curl | grep -v grep');
if i
file=[];
for i=1:l
if iscellstr(webfile(i))
file=[file ' -F file=@' char(webfile(i))];
end
end
unix(['curl -s' file ' "http://www.eiscat.se/raw/rtg/upload.cgi" >/dev/null &']);
end
end