Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automated server-to-server file transfer from a C CGI script

Status
Not open for further replies.

dradsws

Programmer
Sep 14, 2001
2
SG
Hi,

I need to automate transfer of a file from one UNIX box to another, froma CGI program written in C. The CGI program will receive a data file from the browser, and will output a temporary file to the web server machine. What we need to do is to transfer this file to another machine for processing.

Anyone got any ideas? I thought of FTP, but many CGI processes doing FTP over the same network link simultaneously may not be the best option.

Or is there a way to use the CGI to write directly to another machine with a different IP?

Is there any other choices? We need to implement very soon, so it can not involve too much effort.

Any ideas would be appreciated...

Cheers

Steve
 
you can use CGI like queries. C language is not the best for create CGI. Ion Filipski
1c.bmp


filipski@excite.com
 
Hi,

I'm not sure what you mean, please can you explain a bit further.

Thanks

Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top