Re: [twsocket] Aborting PUT

2017-06-15 Thread Allan Fernandes
From what I gather is that MagFTP is the Client Side. For client side I will 
refer your logic, Thanks. My requirement is for the Server Side. I can also 
pass the command from Client side to the Server to do the rename but I thought 
Server doing the Rename would be faster and would also help my flow of logic. 
So can I get actual Filesize on the server side ?
RegardsAllan

  From: Angus Robertson - Magenta Systems Ltd 
 To: twsocket@lists.elists.org 
 Sent: Thursday, 15 June 2017 4:17 PM
 Subject: Re: [twsocket] Aborting PUT
   
> How does Server understand that FtpClient Aborted the PUT. In 
> 'OnStorSessionClosed' 'Error=0'.
> 
> My intention is that at PUT of a file I rename the HostFilename 
> to Filename$$ and when completely received at Server side Server 
> will rename it back to 'Filename' by removing the ending $$.
> Sorry for all the trouble I am giving you.

Suggest you look at the source code for TMagFtp at: 

https://www.magsys.co.uk/delphi/magxfer.asp

which does all this already.  Generally, you check the correct sized
file has arrived, and perhaps run a CRC or MD5 check on it, to check
it's not corrupted before renaming it to the final name, if the server
supports such commands.  

Angus

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


   
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Re: [twsocket] ICS Registration

2017-06-15 Thread Jarek Karciarz

Hi Francois

Yes i am using ICS. I knew about post cards but I thought it was in the 
past. No problem. I am based in Warsaw Poland. I will find a nice post card 
and send to you soon.


Pozdrawiam

Jarek Karciarz



--
Od: François Piette 
Data: 15 czerwca 2017 20:30:22
Do: ICS support mailing 
Temat: [twsocket] ICS Registration


Hi !



As you subscribed to ICS support mailing list, you probably use ICS. Good !

But have you taken time to register your ICS copy ?



ICS is freeware but to use it, you must register it.

Registration is very simple: just mail a [real, paper] picture postcard to
the author (me). You can find instructions in readme.txt file.



Thanks.



PS: If you already sent your picture postcard, simply ignore this message.

If you wants to know if I received it, then you must tell me when you sent
it, from which country and what the picture is (I have several thousand
postcards !).



--

  francois.pie...@overbyte.be

The author for the freeware multi-tier middleware MidWare The author of the
freeware Internet Component Suite (ICS)  
http://www.overbyte.be







--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be



--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Re: [twsocket] TSslHttpCli on runtime

2017-06-15 Thread François Piette
>  in my project I have a TStringGrid with some lines, 
> I need to create a TSslHttpCli component for each grid line, 
> and make independent simultaneous connections, I create a Thread for each
line 

This is definitely not required with ICS. A single thread, even the main
thread can handle a lot of connections simultaneously without blocking. See
sample program OverbyteIcsHttpAsy.dpr provided with ICS.

> but I am having problem with The cookies, how to use the cookies of the
component TSslHttpCli that is in the main form, 
> he who has logged in to authenticate in the site

I remember that cookie handling where discussed a few days ago.

--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be




-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Aborting PUT

2017-06-15 Thread Angus Robertson - Magenta Systems Ltd
> How does Server understand that FtpClient Aborted the PUT. In 
> 'OnStorSessionClosed' 'Error=0'.
> 
> My intention is that at PUT of a file I rename the HostFilename 
> to Filename$$ and when completely received at Server side Server 
> will rename it back to 'Filename' by removing the ending $$.
> Sorry for all the trouble I am giving you.

Suggest you look at the source code for TMagFtp at: 

https://www.magsys.co.uk/delphi/magxfer.asp

which does all this already.  Generally, you check the correct sized
file has arrived, and perhaps run a CRC or MD5 check on it, to check
it's not corrupted before renaming it to the final name, if the server
supports such commands.  

Angus

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be