how to Upload files using Linux bash Shell scripting and CGI

Reply

Join Date: Dec 2004
Posts: 1
Reputation: aashiqbhatti is an unknown quantity at this point 
Solved Threads: 0
aashiqbhatti aashiqbhatti is offline Offline
Newbie Poster

how to Upload files using Linux bash Shell scripting and CGI

 
0
  #1
Dec 27th, 2004
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
Reply With Quote Quick reply to this message  
Join Date: Jan 2004
Posts: 468
Reputation: TKS will become famous soon enough TKS will become famous soon enough 
Solved Threads: 18
TKS's Avatar
TKS TKS is offline Offline
Posting Pro in Training

Re: how to Upload files using Linux bash Shell scripting and CGI

 
0
  #2
Dec 28th, 2004
Originally Posted by aashiqbhatti
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.
My Home Away from Home: Yet Another Linux Blog
Reply With Quote Quick reply to this message  
Join Date: Sep 2005
Posts: 1
Reputation: manojkumarnayak is an unknown quantity at this point 
Solved Threads: 0
manojkumarnayak manojkumarnayak is offline Offline
Newbie Poster

Re: how to Upload files using Linux bash Shell scripting and CGI

 
0
  #3
Sep 26th, 2005
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
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Shell Scripting Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC