HELP: CGI script for FTP uploading

iosoft

PC enthusiast since MS DOS 5
Skilled
Friends,

I need help to create a CGI script which will automatically upload a file from my server to a remote FTP server.

E.g -

the File is -
http://mydomain.com/files/test.txt

Remote FTP server -
ftp.otherdomain.org
uid: iosoft
pass: password

I want that, whenever I run the CGI script, it will login to the FTP server using given uid/pass and upload the given file (as parameter if possible).

There will be no user prompt.
 
Back
Top