pardede
Jun 3rd, 2001, 04:15 PM
Hi,
I'm building an asp application using webclasses. So it will be a .dll file when compiled.
I need to implement some ftp functionalities: if a user clicks on a link, some files must be ftp-ed from the webserver (an NT machine) to another server under Unix.
Now I've seen codes to do this using Inet/Winsock control, but since I'm not using forms (it's a dll app), I don't think this is the way to go for me.
So the question is: how do I do this through code, is there an API function to do this.
PS I know one can do this by invoking ftp.exe via the command prompt but it's hard to get feedback from the dos box (e.g. to find out whether a transfer was OK or not)...
Any help appreciated!
I'm building an asp application using webclasses. So it will be a .dll file when compiled.
I need to implement some ftp functionalities: if a user clicks on a link, some files must be ftp-ed from the webserver (an NT machine) to another server under Unix.
Now I've seen codes to do this using Inet/Winsock control, but since I'm not using forms (it's a dll app), I don't think this is the way to go for me.
So the question is: how do I do this through code, is there an API function to do this.
PS I know one can do this by invoking ftp.exe via the command prompt but it's hard to get feedback from the dos box (e.g. to find out whether a transfer was OK or not)...
Any help appreciated!