Re: Changing file name
- From: "Newbie Coder" <newbie_coder@xxxxxxxxxxxxxxxx>
- Date: Tue, 19 Dec 2006 05:53:03 -0000
Not a solution again though Cor
"Cor Ligthert [MVP]" <notmyfirstname@xxxxxxxxx> wrote in message
news:OtFQW1yIHHA.780@xxxxxxxxxxxxxxxxxxxxxxx
Bonzol,the
For the file upload it is very important what method you use on the Server
side.
There is no standard method for that.
(Asp)Net has as least 2 classes for that, using those you can sure after
upload change the dataname or the file path (or Database) were you want to
store it.
Therefore show the serverpart so we see how you handle the input/file
Cor
"Bonzol" <Bonzol@xxxxxxxxxxx> schreef in bericht
news:1166502529.878917.257970@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Vb.net 2003, Web application
Hey all!
Just a quick question.
I have a site which allows users the ability to upload files by the
HTML brows button control.
My question is if a user submits a file,, and every file they submit I
want my code to change the name of it.. So say the user submits
'Hello.txt'. When they press submit I want it to be changed to
'Hello1.txt'. I tried just changing the name but it stopped the file
from working. Or also. what commands does one use to just change the
name of a selected file on the local machine?
Any help would be greatly appreciated.
Thanx in Advance
Chris
.
- References:
- Changing file name
- From: Bonzol
- Re: Changing file name
- From: Cor Ligthert [MVP]
- Changing file name
- Prev by Date: Re: Changing file name
- Next by Date: Re: business layer, data access layer , presentation layer for asp.net using C#.net
- Previous by thread: Re: Changing file name
- Next by thread: Re: Changing file name
- Index(es):
Relevant Pages
|