[twsocket] FTP high-level component

2007-01-24 Thread Kochendoerfer, Michael
Hi there,

I'm playing around with the TFtpXXX components, and for not to invent the wheel 
again, I'm looking for some kind of high-level component based on ICS. 

What I need to do is to replace some file copy operations within an application 
by FTP sending/receiving operations. What I'm dreaming of is a sending/copying 
component which accepts file name(s) and a target ftp server instead of a file 
path. The same applies for the opposite way, retrieving files from a ftp server.

Like this (samples):

CopyFileToFTP(LocalFile, FTPServer);
CopyFileFromFTP(FTPServer, LocalFile);

TIA for all hints.

Michael


-- 
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 high-level component

2007-01-24 Thread David Lyon

Hi Michael,

Yes, this is really needed.

I spent almost 3 days last week learning and getting the tftpcli control 
doing basically that.

It's a big time waster imho.

Especially compared to perl, which can do it with one line.

Same is needed for smtp sending also.

Kochendoerfer, Michael wrote:
> Hi there,
>
> I'm playing around with the TFtpXXX components, and for not to invent the 
> wheel again, I'm looking for some kind of high-level component based on ICS. 
>
> What I need to do is to replace some file copy operations within an 
> application by FTP sending/receiving operations. What I'm dreaming of is a 
> sending/copying component which accepts file name(s) and a target ftp server 
> instead of a file path. The same applies for the opposite way, retrieving 
> files from a ftp server.
>
> Like this (samples):
>
> CopyFileToFTP(LocalFile, FTPServer);
> CopyFileFromFTP(FTPServer, LocalFile);
>
> TIA for all hints.
>
> Michael
>
>
>   

-- 
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 high-level component

2007-01-24 Thread Angus Robertson - Magenta Systems Ltd
> I'm playing around with the TFtpXXX components, and for not to 
> invent the wheel again, I'm looking for some kind of high-level 
> component based on ICS. 

TMagFTP which is at:

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

Note this is not free source code, a lot of effort went into it's
development and testing.  DCUs are free, but you either have to license
the source or support ICS-SSL development financially from where you can
also download the source.

> Like this (samples):
> CopyFileToFTP(LocalFile, FTPServer);

It's never that simple, FTP servers need logons that can fail, they have
multiple directories, etc, but one of our functions is almost that
simple:

function FtpDownOneFile (const FdirSrc, Fnamesrc, Fnametar: string ;
Replopt: TFileCopyRepl) : TTaskResult ;

Angus
-- 
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 high-level component

2007-01-24 Thread Kochendoerfer, Michael
Angus,

not a problem if one has to login (and such) previously. It's just important 
that the main transfer process is encapsulated into a few lines of code rather 
than a complex handling scheme.

Also not a problem if it costs some money (however, I contributed to the SSL 
project but Francois didn't still list me due to a lack of time) - if you like, 
you can tell me in a pm what you'd like to get for the components for 
recompiling (= with sources included).

Possibly a problem could be that it should be included in a D5 project which 
has to use legacy ICS sources. No chance at this time to advance to a higher 
Delphi version. Could this be problematic?

Michael

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]
> Behalf Of Angus Robertson - Magenta Systems Ltd
> Sent: Wednesday, January 24, 2007 12:23 PM
> To: twsocket@elists.org
> Subject: Re: [twsocket] FTP high-level component
> 
> 
> > I'm playing around with the TFtpXXX components, and for not to 
> > invent the wheel again, I'm looking for some kind of high-level 
> > component based on ICS. 
> 
> TMagFTP which is at:
> 
> http://www.magsys.co.uk/delphi/magxfer.asp
> 
> Note this is not free source code, a lot of effort went into it's
> development and testing.  DCUs are free, but you either have 
> to license
> the source or support ICS-SSL development financially from 
> where you can
> also download the source.
> 
> > Like this (samples):
> > CopyFileToFTP(LocalFile, FTPServer);
> 
> It's never that simple, FTP servers need logons that can 
> fail, they have
> multiple directories, etc, but one of our functions is almost that
> simple:
> 
> function FtpDownOneFile (const FdirSrc, Fnamesrc, Fnametar: string ;
> Replopt: TFileCopyRepl) : TTaskResult ;
> 
> Angus
> -- 
> 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 high-level component

2007-01-24 Thread Angus Robertson - Magenta Systems Ltd
> Also not a problem if it costs some money (however, I contributed 
> to the SSL project but Francois didn't still list me due to a lack 
> of time) - if you like, you can tell me in a pm what you'd like to 
> get for the components for recompiling (= with sources included).

Pricing and order form is on my web site.  But I'm sure Francois can fix
up a logon easily. 
 
> Possibly a problem could be that it should be included in a D5 
> project which has to use legacy ICS sources. No chance at this time 
> to advance to a higher Delphi version. Could this be problematic?

I don't support 'legacy' ICS source, only the latest V5 and V6 betas
which have many improvements needed for proper FTP support.  If you
really need to support long obsoleted ICS code, you'll need to edit the
TMagFtp source to remove functions needing newer versions.  Likewise I've
stopped backward testing with eight year old compilers, you can only go
back so far, but it probably still works. 

Angus
-- 
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 high-level component

2007-01-24 Thread Kochendoerfer, Michael
Angus,

I hope I'm not OT, but... your web site says:

 "Compatible with Delphi 5/6/7/2005/2006, tested with Windows 98, NT4, Windows 
2000, XP and 2003. Files larger than 2 gigs needs Delphi 6 or later."

Is this still true? I guess it would help a few other users here to know that 
there are such components available (for not being totally OT :))

Michael


> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]
> Behalf Of Angus Robertson - Magenta Systems Ltd
> Sent: Wednesday, January 24, 2007 2:21 PM
> To: twsocket@elists.org
> Subject: Re: [twsocket] FTP high-level component
> 
> 
> > Also not a problem if it costs some money (however, I contributed 
> > to the SSL project but Francois didn't still list me due to a lack 
> > of time) - if you like, you can tell me in a pm what you'd like to 
> > get for the components for recompiling (= with sources included).
> 
> Pricing and order form is on my web site.  But I'm sure 
> Francois can fix
> up a logon easily. 
>  
> > Possibly a problem could be that it should be included in a D5 
> > project which has to use legacy ICS sources. No chance at this time 
> > to advance to a higher Delphi version. Could this be problematic?
> 
> I don't support 'legacy' ICS source, only the latest V5 and V6 betas
> which have many improvements needed for proper FTP support.  If you
> really need to support long obsoleted ICS code, you'll need 
> to edit the
> TMagFtp source to remove functions needing newer versions.  
> Likewise I've
> stopped backward testing with eight year old compilers, you 
> can only go
> back so far, but it probably still works. 
> 
> Angus
> -- 
> 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 high-level component

2007-01-24 Thread Angus Robertson - Magenta Systems Ltd
>  "Compatible with Delphi 5/6/7/2005/2006

Maybe that should say 'probably compatible'.  I've stopped providing DCUs
for Delphi 5 so I'm no longer testing new versions with D5.

I'm also stopping enhancing the ICS V5 version, now V6 is stable and
working.  

If you want an old TMagFtp from a few years ago supporting an old ICS, I
have all the archives, but there would be no support for it and finding
one that matches a specific old ICS might be difficult. 

The bottom line is that if you want to use new components, you need to
try and keep up. Having said that, I still use Delphi 7 for all my
development, and almost all D7 components still work in D2006 since
Borland stopped serious enhancement of object pascal with D7 when it
decided that .net was the future of mankind. 

Angus
-- 
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 high-level component

2007-01-24 Thread Francois Piette
> Also not a problem if it costs some money (however, I contributed to the
> SSL project but Francois didn't still list me due to a lack of time

You don't need to be on the advertized list. You have your usercode/password
for ICS-SSL. TMagFTP component is just in the file list below the ICS-SSL
files. You can download it since you've got your login !

Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
Author of ICS (Internet Component Suite, freeware)
Author of MidWare (Multi-tier framework, freeware)
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 high-level component

2007-01-24 Thread Kochendoerfer, Michael
Thanks very much Francois... I didn't remember this one ;)

Michael

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]
> Behalf Of Francois Piette
> Sent: Wednesday, January 24, 2007 3:51 PM
> To: ICS support mailing
> Subject: Re: [twsocket] FTP high-level component
> 
> 
> > Also not a problem if it costs some money (however, I 
> contributed to the
> > SSL project but Francois didn't still list me due to a lack of time
> 
> You don't need to be on the advertized list. You have your 
> usercode/password
> for ICS-SSL. TMagFTP component is just in the file list below 
> the ICS-SSL
> files. You can download it since you've got your login !
> 
> Contribute to the SSL Effort. Visit 
> http://www.overbyte.be/eng/ssl.html
> --
> [EMAIL PROTECTED]
> Author of ICS (Internet Component Suite, freeware)
> Author of MidWare (Multi-tier framework, freeware)
> 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
> 
-- 
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