473,394 Members | 1,739 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

How to upload an Image file to a webserver using C for CGI scripting.?

Hi All,

I would like to upload an image file from my web page to the server using C(CGI scripting). Actually I am able to upload a text file using gcgi library but not image file.

Please, if any one knows regarding this or has the source code for the same, please help me out.

Any information on this topic will be appreciated.

Thanks And Regards,
Prakhar
Jan 23 '07 #1
2 3166
Hi ,
Please go to the link
http://www.codeproject.com/asp/upload.asp?df=100&forumid=4203&exp=0&select=803319

From here read the article and download the ISAPI code , this will solve your problem .

I have myself used it in my CGI based application and it works perfectly fine .

Please let me know if you face any problem in incorporating this code in your application.

Thanks and Best Regards ,
Chandan
Jan 24 '07 #2
Thanks a Lot Chandan, I will check it out and let u know.

Regards
Prakhar
Jan 29 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Martin | last post by:
Hi, I search for free script to enable function UPLOAD Images, Files to Webserver, and save in a directory. I have tried a free script, but it doesn't work. (http://www.freeaspupload.net), when...
1
by: Patsy | last post by:
Hi I'm using a third party software which captures image from a webcam and saves it to local harddisk. It also comes with a function to send the image file via HTTP encoded with...
0
by: Jitendra Sanghani | last post by:
Respected Sir/Madam I am developing a Webdav Client Application and I had completed Methods like GET, MKCOL, PROPFIND. PROPPATCH, SEARCH etc. but the main problem where I find difficulties...
3
by: wingleader | last post by:
Hi! Can someone help? I need to store image files in mysql database. Can you help with advice, how can it be done? I need a possibility to upload images, and that late it could be read as an image.
0
by: aris1234 | last post by:
hello.. How to upload image file in page update ..?? i have logic like this : if user upload new image then old image must delete and update DB used new name if user not upload new image then...
2
by: rinkudhimar | last post by:
I want to write using fwrite and upload the file without using File Field or Browse option. Actually I want to upload static file after writing it useing fwrite and as soon as it gets uploaded it...
1
by: ankarao11 | last post by:
Hello, i have a data file, setup.xml. In this file i would like to modify a parameter value called port number (from port number= 1200, to port number=1300) by using scripting (vb,...
1
by: zanzo | last post by:
I am new to asp, and i need to upload an image so could somebody help me??
3
by: premprakashbhati | last post by:
hi, good evening.. i am going to upload an image in a web form .....for that iam using HTML input(file) control and one web control button i.e., Upload_Button() here is the code ...its work fine...
2
by: sidhx | last post by:
how can i let image overwriting when uploading? and if uploading an image say "logo.jpg" and if a file already existing say "logo.png" then, how can i replace the file logo.png to logo.jpg(which has...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.