Yes, much clear, and you've simplifies your question welly =) You may want to look at http://search.cpan.org/search?mode=all&query=FTP
As long as FTP has its own fix protocal, that wouldn't be very difficult to deal with for file transfering(with Perl). The only thing I can think about this moment that you may extra take care is how to handle those line breaker (\r\n,\n\n etc.) Then, I opt to modifiy things at local side, so to make the outer communication becoming simple file overwrite or write. But, I found that you didn't mension about the "backup". What if the client made a error to fill the from ? OR what'll happen if you/them get disconnected while the files are transfering? Don't miss it. Rgds, Connie ----- Original Message ----- From: "Soheil Shaghaghi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 19, 2002 12:39 AM Subject: RE: Online installer Hi Connie, Thanks for the reply. Well, I don't think the client side needs to have anything installed. I kind of know how it's supposed to be done I m just not sure who to write the code :) A little bit more details: 1. Let's say I have a directory structure for the program like this: program program/data program/test.cgi program/data/config.txt 2. The user enters his server ftp username/password The user also enters some server variables like path to Perl, sendmail,... The user also enters some variables like where he wants the application to be installed on the server. His server path, username/password, e-mail address... and submits the form. 3. Now, at my server, where the application is located, here is what I need to do: Method A: ftp to the user server, and change to the directory he specified in the form make some directories (program, data) copy all the files from my server to those directories set the permission on these files/directories Open the test.cgi and change the path to Perl, and save it. Open the config file and enter the variables the user entered and save it. Method B: Open the test.cgi and change the path to Perl, and save it. Open the config file and enter the variables the user entered and save it. ftp to the user server, and change to the directory he specified in the form make some directories (program, data) copy all the files from my server to those directories set the permission on these files/directories I guess this is it! Hopefully this makes it more clear :) Now, if the different servers are a problem, I don't mind starting from Unix based servers and just address those. Soheil -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]