Dear All,

I am using CGI and bash Shell scripting programming. I want to upload a file
bye Web based application in CGI and pure Shell Scripting. Not in Perl.

Please help how to Upload a file using bash Shell Scripting and CGI.

Thanks advance.

Aashiqbhatti

Member Avatar for TKSS

Dear All,

I am using CGI and bash Shell scripting programming. I want to upload a file
bye Web based application in CGI and pure Shell Scripting. Not in Perl.

Please help how to Upload a file using bash Shell Scripting and CGI.

Thanks advance.

Aashiqbhatti

If this is a web based uploading...you'll need to post this into the right forum. You probably won't get much of a reply in this forum. :)

Hi,
u can customise the following script

ftp -i 192.168.161.78 <<EOF
user
password
mput $1
EOF

put it is file say a.sh

you can use as

a.sh *.htm


manoj

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.