Help - Search - Members - Calendar
Full Version: delphi - auto accept
Skype Community > English > Development, Betas and Skype Garage > Skype Public API
w4sn7m3
how to make "auto accept" on file sended to me and save to dekstop ?

paste some example on delphi please smile.png
Avo Nappo
> how to make "auto accept" on file sended to me and save to dekstop?

There is no way to programmatically accept incoming file transfers through API, for security reasons. However, you can write your own custom file transfer application with app2app API and have it auto-accept files.

Example application that does more or less that can be found at:
https://developer.skype.com/Docs/Skype4COM/.../A2AStreams_pas
w4sn7m3
QUOTE
[Error] Unit1.pas(304): Not enough actual parameters

CODE
ExpectedBytes := StrToInt(Copy(S, Pos('SIZE:', S)+5));


and

QUOTE
[Error] Unit1.pas(313): Too many actual parameters

CODE
if Not SaveDlg.Execute(Handle) Then
Avo Nappo
Hmm compiles without errors for me. What version of Delphi are you running? .NET?
w4sn7m3
delphi 7 SE
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.