Re: [twsocket] [FTP] Recursive upload?

2007-06-10 Thread Francois PIETTE
Note: ICS support mailing list /not/ the place to compare ICS with other 
components. Please use a general purpose mailing list such a 
[EMAIL PROTECTED] (you see: same list server).

I will answer your technical questions:

 - recursive upload to FTP server (ie. just point to a source directory, 
 and
 upload everything under it recursively, including sub-directories)

You have to scan recursively the directory yourself and call appropriate 
function of the component to upload each file. Scanning recursively a 
directory tree is quite easy with Delphi FindFirst/FindNext. You should fill 
a TStringList with all the files to transfert and then empty the list using 
one or more FTP component to simultaneously transfer files to speed up 
things.

ICS components are asynchronous. You don't have to use multithreading to 
keep you application responsive while transfering files, even if you 
transfer many files simultaneously. Multithreading is always difficult for 
anything else than trivial demos.

 - static linking into the EXE

You have the choice. ICS components is source code only, no DLL. You can 
either link the code into your exe, put it in a runtime package or build 
your own DLL.

 - support for passive mode

Of course.

 - good performance

No, high performance.

 - ideally, some way to show a progress bar

You have events all along the transfert operation. You can use it to show a 
progress bar in your UI.


Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be


.be 

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


Re: [twsocket] [FTP] Recursive upload?

2007-06-10 Thread Fastream Technologies
Hello,

If you donate for ICS-SSL, the Magsys component which comes bundled promises 
to do the job. You should ask for more from the author who is also listening 
here.

Regards,

SZ

- Original Message - 
From: Vincent Delporte [EMAIL PROTECTED]
To: twsocket@elists.org
Sent: Sunday, June 10, 2007 4:19 AM
Subject: [twsocket] [FTP] Recursive upload?


 Hello,

 Before I buy a commercial component, I was wondering if open-source
 solutions like Indy, ICS, Synapse, etc. can do this:

 - recursive upload to FTP server (ie. just point to a source directory, 
 and
 upload everything under it recursively, including sub-directories)
 - static linking into the EXE
 - support for passive mode
 - good performance
 - ideally, some way to show a progress bar

 Thank you.

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

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


Re: [twsocket] [FTP] Recursive upload?

2007-06-10 Thread Arno Garrels
There's also a component available based on ICS
that makes such transfer jobs very easy:
http://www.magsys.co.uk/delphi/magxfer.asp
If you contributed to ICS-SSL this component can be
downloaded with full source from the ICS-SSL website
for free. 

--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html


Vincent Delporte wrote:
 Hello,
 
 Before I buy a commercial component, I was wondering if open-source
 solutions like Indy, ICS, Synapse, etc. can do this:
 
 - recursive upload to FTP server (ie. just point to a source
 directory, and upload everything under it recursively, including sub-
 directories) - static linking into the EXE
 - support for passive mode
 - good performance
 - ideally, some way to show a progress bar
 
 Thank you.
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] [FTP] Recursive upload?

2007-06-10 Thread Vincent Delporte
At 11:12 10/06/2007 +0200, Arno Garrels wrote:
There's also a component available based on ICS that makes such transfer 
jobs very easy:
http://www.magsys.co.uk/delphi/magxfer.asp

Thanks everyone. However, I failed installing MagXFer:
1. As it says to use ICS V5, I uninstalled V6 Beta, and installed V5 
Distribution, then compiled/installed MagentaSubs successfully, but failed 
installing MagXFer: [Fatal Error]  Magxfer7.dpk(38): Unit magftp was 
compiled with a different version of FtpCli.TFtpClient

2. Next, after uninstalling V5 Distribution and reinstalling V6 Beta, 
MagentaSubs installed OK, but when installing MagXFer: Registration 
procedure, Magftp.Register in package c:\program
files\borland\delphi7\Projects\Bpl\magxfer7.bpl raised exception class 
EFilerError: A class named TFtpClient
already exists.

I'll check the site for more information.

Thank you
Vincent.

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


[twsocket] [FTP] Recursive upload?

2007-06-09 Thread Vincent Delporte
Hello,

Before I buy a commercial component, I was wondering if open-source 
solutions like Indy, ICS, Synapse, etc. can do this:

- recursive upload to FTP server (ie. just point to a source directory, and 
upload everything under it recursively, including sub-directories)
- static linking into the EXE
- support for passive mode
- good performance
- ideally, some way to show a progress bar

Thank you.

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