• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Web site using FTP behind the scene?

  • Thread starter Thread starter KK
  • Start date Start date

KK

Lifer
I have this situation, where I have a windows 2000 server computer at work. Also there are two unix systems, we'll call them system A and system B. You are allowed to FTP into system A, but not into system B. The data I need to get is on system B. I can rsh a command in system A to system B and get the data. So to make it easy, how do I get data that would be coming from system A back into the web server on the Windows 2000. I need something web based that when clicked it goes to system A, runs a rsh command to system B, putting the data on system A, then moves this data onto the Web page.

Any ideas?
Thanks ahead of time,
KK
 
write a CGI script which calls system A to pull the data from B and serves it up to the win2k box..
how to do that is beyond me though..

 
Get your rsh command to place the retrieved file onto the output stream.

Then in the CGI script, just do something like:

$file = `rsh <parameters>`;
echo $file;
 
Back
Top