944,000 Members | Top Members by Rank

Ad:
Dec 27th, 2004
0

how to Upload files using Linux bash Shell scripting and CGI

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
aashiqbhatti is offline Offline
1 posts
since Dec 2004
Dec 28th, 2004
0

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

Quote 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.
TKS
Reputation Points: 108
Solved Threads: 18
Posting Pro in Training
TKS is offline Offline
470 posts
since Jan 2004
Sep 26th, 2005
0

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

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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
manojkumarnayak is offline Offline
1 posts
since Sep 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Shell Scripting Forum Timeline: Invoking a shell script on selected text
Next Thread in Shell Scripting Forum Timeline: Colored output in bash?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC