Re: [twsocket] FTP upload speed

2018-05-29 Thread David Rose (dsr)
Is there any upload speed throttling built in to the TMagFTP component (or Overbyte one) ? All ICS components have optional bandwidth limiting, it's part of WSocket, on the XferDemo3 it's set by the Bandwidth Limit field which should generally be zero. I have this in my code (I think lifted fro

[twsocket] FTP upload speed

2018-05-29 Thread David Rose (dsr)
Hi Is there any upload speed throttling built in to the TMagFTP component (or Overbyte one) ? I've noticed that if I upload a file to our FTP site via TMagFTP the upload speed is approximately six times slower than using a commercial FTP client (Flash FXP). One reports 565KB/s and the other 90

Re: [twsocket] Stopping FTP upload

2017-05-31 Thread David Rose (dsr)
Brilliant. Thanks David David Rose Director, Navigator Systems Ltd Telephone: +44 (0)207 183 0011 mobile: Address: The Counting House, 13A Church Farm Business Park, Corston, Bath. BA2 9AP Website: www.navigator.co.uk Email: d...@navigator.co.uk

[twsocket] Stopping FTP upload

2017-05-31 Thread David Rose (dsr)
What's the best way to stop TFTPServer from allowing a user (all users) to upload a file ? I have an FTPServer within my app that is used to distribute updates to various clients. One of our users has just discovered that they can upload a file to the distribution directory too, which then get

Re: [twsocket] FTP Client - reconnecting

2013-11-07 Thread David Rose (dsr)
On 07/11/2013 16:15, Angus Robertson - Magenta Systems Ltd wrote: Angus, trying to change the code to use your components. Does the TMagFtp component support a CopyType := FCTypeDates ; Sorry, seems like I never supported specific date ranges for FTP which is mostly used to synchronise remote

Re: [twsocket] FTP Client - reconnecting

2013-11-07 Thread David Rose (dsr)
Angus Turned everything firewall like off and it makes no difference, and I assume that wouldn't explain why when downloading the same root folder each time, it would fail in a different place (sometimes not at all). I'm pretty sure it's something server side, but it's hosted by big US ISP, s

Re: [twsocket] FTP Client - reconnecting

2013-11-07 Thread David Rose (dsr)
Angus Now trying with your components and although it's much better behaved and fails gracefully, it still fails (in my app or the supplied demo app). However as both your app and my app fail with my hosted FTP server and both work with your FTP server, I'm going to assume that there's somethi

Re: [twsocket] FTP Client - reconnecting

2013-11-07 Thread David Rose (dsr)
Angus, trying to change the code to use your components. Does the TMagFtp component support a CopyType := FCTypeDates ; if so, how does one set the dates as fMagFileCopy is declared as private so these aren't accessible ? UseUTC := true // whether to compare file timestamps in UTC or local

Re: [twsocket] FTP Client - reconnecting

2013-11-06 Thread David Rose (dsr)
On 06/11/2013 18:29, Angus Robertson - Magenta Systems Ltd wrote: It's possible you have reached a large directory that is taking a long time to process, and the session is timing out. I got caught myself the other day with a large download that took longer than 60 seconds to compress using Z M

Re: [twsocket] FTP Client - reconnecting

2013-11-06 Thread David Rose (dsr)
On 06/11/2013 17:29, Angus Robertson - Magenta Systems Ltd wrote: 15:36:17:405 Request MlsdAsync Done. 15:36:17:405 StatusCode = 0 15:36:17:405 LastResponse was : '' 15:36:17:405 Error = 426 () 15:36:17:701 Session Connected, error = 0 15:36:17:701 Request MlsdAsync Done. 15:36:17:701 StatusCode

[twsocket] FTP Client - reconnecting

2013-11-06 Thread David Rose (dsr)
For some reason the FTP server I'm connecting to seems to close the session for no specific reason - here shown with a 426 error, that currently my code is ignoring and hence I then get a later problem 530. From my FTPClient logs 15:36:17:405 local - C:\ProgramData\Navigator Systems\NX SQL Se

Re: [twsocket] Access denied issue

2013-09-03 Thread David Rose (dsr)
Could it be some kind of proxy at the clients end ? This is what the server gives me when I manually login, which I'm assuming is the FTP software 220 ProFTPD 1.3.3a Server (My FTP server) I've just tried connecting without using passivemode on my PC and I don't get a rejection as you can see

Re: [twsocket] Access denied issue

2013-09-03 Thread David Rose (dsr)
Thanks. slightly different if PassiveMode = FALSE, but no cigar :( 09:13:40:776 Request MlsdAsync Done. 09:13:40:776 StatusCode = 502 09:13:40:776 LastResponse was : '502 Active FTP not allowed.' 09:13:40:776 Error = 502 (502 Active FTP not allowed.) 09:13:40:960 Request MlsdAsync Done. 09:13:40:

[twsocket] Access denied issue

2013-09-03 Thread David Rose (dsr)
I'm using the FTP client component in my app to login to my public FTP site and download some files. This seems to work well for almost all my customers, but one is getting a '550' access denied message. Is this generated by the FTP server (in which case anyone have any suggestion as to why it

Re: [twsocket] mlsd and modified data

2013-08-23 Thread David Rose (dsr)
Many thanks for the explanation. Glad it's not something I've done wrong :) > but some Americans don't understand UTC and may > return local time instead I'm assuming you mean local to their server, rather than local to the client ? On 23/08/2013 14:04, Angus Robertson - Magenta Systems Ltd w

[twsocket] mlsd and modified data

2013-08-23 Thread David Rose (dsr)
I'm using the FTP Client component to get some file data from our Dreamhost FTP server. I'm using the MLSD command, but I've noticed that the modified value for a file isn't always the same e.g Running on two different machines gives two different values modify=20130803144603 modify=2013080