Upload Folder from client

  • Thread starter Thread starter tolgademirel
  • Start date Start date
T

tolgademirel

I am creating a web application which needs to access data which
resides on the client's computer.

The data is a bunch of text files that are stored in a folder. I need
all of those text files.

Is there a was that i can upload the entire folder to my server so that
i can then parse the text files to get the data i need?

Or can i just parse the text files while they are still on the client's
computer?

If i can not upload the entire folder, what do i do?

Basically what i am saying is i have no idea of what to do?
Please help!!

THANKS,
TOLGA
 
Tolga,

In order to access the files, you are going to have to have the client
specify all the files in the folder and then upload them to you. Either
that, or you will have to embed a .NET control in the page, and grant it
rights to the local file system to access the folder. However, I recommend
against this. Rather, you should just have the client specify each file to
upload, and then when done, process all the files.

You can use DHTML to help with this, to add more file upload fields as
needed.

Hope this helps.
 
Why do you against embedding the .Net control?

Also, i really don't won't the user to have to find the files to
upload.

The situation is this:
The user plays a game. The game writes text files based on the game
play. I know which folder those text files are in. The user probably
doesn't. I want to parse those text files to get data that i need. I
will use the data to help the user.
Is there any other options?

thanks for the quik reply
 
Why do you against embedding the .Net control?

Also, i really don't won't the user to have to find the files to
upload.

The situation is this:
The user plays a game. The game writes text files based on the game
play. I know which folder those text files are in. The user probably
doesn't. I want to parse those text files to get data that i need. I
will use the data to help the user.
Is there any other options?

thanks for the quik reply
 
Why do you against embedding the .Net control?

Mainly because you'll then have to ask your user to grant it permission
to access his file system.

Note that this is not an ASP.NET server control we are talking about,
but something more akin to a Windows.Forms app being downloaded & run by
your users.
 
That's fine. i think i could get my users to download a windows form.
Is there anywhere you can point me too that could guide me.
 
Back
Top