Gossamer Forum
Home : Products : DBMan : Customization :

Uploading a Text File

Quote Reply
Uploading a Text File
Hello Everyone;

I am using DBMan as an interface to update a website. I would like to allow the user to upload a text file which will later be included into the webpage. I am using multiple DBs, cfgs, and Html pages. In one of the dbs I am using the upload Mod to upload images. I ran into a few conflicts so I decided to use a seperate CGI file for this particular instance of the upload mod (the text upload).

I am able to upload "a" file into a new directory, however, while the file that has been uploaded contains the name of the file, it does not upload the text within the file. I think that maybe my Mod is creating the filehandle but not writing to it. Can anyone help me, I think if I can track down where and how the upload mod writes to the filehandle that should give me a clue about where my problem is. Also I am running the debugger and it does not seem to have a problem with anything.



-TY
Don Son Cool
Quote Reply
Re: [don_son] Uploading a Text File In reply to
I think it would be difficult for anyone to guess what is happening without seeing the cgi file that you are using.

Could you make a text copy and post the url to where the file can be viewed?

Unoffical DBMan FAQ

http://creativecomputingweb.com/dbman/index.shtml/
Quote Reply
Re: [LoisC] Uploading a Text File In reply to
There are two Mods in the Resource area that could help you with this. One is Export Records to HTML File and the other is External Text File.

Check the routines used in those as you will probably find the answer to your problems.
-------------
David Olley
Anglo & Foreign International Limited,
http://www.firehelmets.co.uk

There are 10 types of people in the world: those who understand binary, and those who don't.