[Synalist] Which is the latest version of Synapse

2016-10-17 Thread Yogi Yang 007

Hello,

I am a new bee to this component.

I am using Delphi XE6.

I would like to know as to which is the latest version of Synapse?

Currently I found Release 40 Dated 2012-04-23.

Is this the latest version?

TIA

Yogi Yang

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


[Synalist] Need a small sample showing as to how to use FTP feature of Synapse

2016-10-20 Thread Yogi Yang 007

Hello,

I checked a few sampled of Synapse. But could understand as to who to 
use the FTP feature.


What I am trying to achieve is:

 * Connect to an FTP server and Log in
 * Check if a folder is present on the server
 * If the folder is present then upload files that do not exist to that
   folder
 * If the folder is not present then create it and then upload file to it
 * Log out


If someone has experience using the FTP feature please do guide me.

Thanks,

Yogi Yang

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


[Synalist] How to manage/handle connectivity Errors?

2016-10-25 Thread Yogi Yang 007

Hello,

I have managed to get Synapse to send files using FTP. But I am not able 
to understand as to how and from where can we manage errors relabely ?


I am allowing the user to select a folder. Once the folder is selected 
the software will upload the file in that folder to a remote FTP server.


While uploading is taking place how can we know when the connectivity is 
lost and what is the best way to handle such situations?


TIA

Yogi Yang

--
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


[Synalist] Progress exceeds more than 100% percentage when uploading....

2016-10-25 Thread Yogi Yang 007

Hello,

I am using following code to show progress when a file is uploaded to 
FTP server:


procedure TForm1.SockPutCallBack(Sender: TObject; Reason: THookSocketReason;
  const Value: string);
begin
  case Reason of
HR_WriteCount:
begin
  inc(CurrentBytes, StrToIntDef(Value, 0));
  lblProgress.Caption := 'Uploaded %' +
IntToStr(Round(1000 * (CurrentBytes / TotalBytes)));
  pbMain.Position := Round(1000 * (CurrentBytes / TotalBytes));
end;
HR_Connect:
begin
  CurrentBytes := 0;
end;
HR_ReadCount:
begin
  // Do something if needed
end;
HR_Error:
begin
  Memo1.Lines.Add('- ERROR - ');
end;
  end;
end;

What mistake am I making in this code?

Please help solve this problem...

TIA

Yogi Yang

--
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


[Synalist] How to show Human understandable progress when files are uploading

2016-10-25 Thread Yogi Yang 007

Hello,

I am trying to show progress with following information:

 * Size of file in MB
 * Speed of uploading like for example: 100 KB/Sec
 * Time when upload started for a file and time when upload ended for a
   file
 * How much of file uploaded in MB for example: 1/4.5 MB

TIA

Yogi Yang

--
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


[Synalist] How to Abort Uploading of file in between

2016-10-25 Thread Yogi Yang 007

Hello,

I am not able to get FptSend to abort uploading in between.

How to get FtpSend to abort?

TIA

Yogi Yang

--
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public