User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Shell Scripting section within the Software Development category of DaniWeb, a massive community of 425,940 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 1,661 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Shell Scripting advertiser: Programming Forums
Views: 14596 | Replies: 2
Reply
Join Date: Dec 2004
Posts: 1
Reputation: aashiqbhatti is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
aashiqbhatti aashiqbhatti is offline Offline
Newbie Poster

Help how to Upload files using Linux bash Shell scripting and CGI

  #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
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jan 2004
Location: VA, USA
Posts: 459
Reputation: TKS will become famous soon enough TKS will become famous soon enough 
Rep Power: 6
Solved Threads: 17
TKS's Avatar
TKS TKS is offline Offline
Posting Pro in Training

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

  #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  
Join Date: Sep 2005
Posts: 1
Reputation: manojkumarnayak is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
manojkumarnayak manojkumarnayak is offline Offline
Newbie Poster

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

  #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  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Shell Scripting Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the Shell Scripting Forum

All times are GMT -4. The time now is 9:34 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC