Thanks. Also informing you that as far as Excludes are concerned the option you have given suits me well because apart from subfolders I also need to exclude files that have come into the folder after the FTP process has started (snapshot effect). My FTP upload may go on for 2 to 3 days and the application may stop and start several times. Also my requirement is mainly for upload. Download is only in case of any data loss on local machine.
On Mon, May 6, 2013 at 11:24 PM, Angus Robertson - Magenta Systems Ltd < an...@magsys.co.uk> wrote: > > 1) In case I have to upload some data (eg: 5GB). How can I get to > > know approximately how much time it will take ? > > Use CopyEvent, LogLevelProg gives you an ASCII string every couple of > seconds showing how much has been transferred and the total size. > Unfortunately from your perspective, the response is friendly format, ie > 4.5Mbyte of 2.6Gbyte, which you'd need to parse with the time taken so > far to estimate the time left. The internal variables are not available > in the event. The component does report the time and speed at the end, > but that does not really help you. > > To do it properly really needs a new LogLevelSpeed type in the procedure > onFtpClientProg64 that does all these calculations and gives an ASCII > response. I'll put it on the wish list, with exclude sub-directories. > > > 2) Just wanted to know if there are any size limits for upload with > > ICS/MagFtp ? > > No real limits, I've tested file transfers of DVD size, but nothing > larger. But MagFtp only uses a single socket at a time. If you want > more efficient uploading of single large files you would be better > looking at OverbyteIcsMultipartFtpDownloader (no uploader) that splits a > large file into chunks and does multiple parallel transfers. > > 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