Posted: 9/17/2010
Hi Guys,
Can any one tell me how can we re-upload a file In one of our project we are getting this problem. If once the file is uploaded and if we want to download that
file and modifey it and re-upload it.We are not able to edit that file and also not able to re-upload that file in to
the server. Can any one please tell me the solution for this problem as early as possible because project had got
strucked at this place. So, kindly tell me the solution guys.
vamsidhar said: user="vamsidhar janjanam"]Hi Guys, Can any one tell me how can we re-upload a file In one of our project we are getting this problem. If once the file is uploaded and if we want to download that file and modifey it and re-upload it.We are not able to edit that file and also not able to re-upload that file in to the server. Can any one please tell me the solution for this problem as early as possible because project had got strucked at this place. So, kindly tell me the solution guys.
user="vamsidhar janjanam"]
Which control you are using for uploading files?
Multiple file upload control
vamsidhar said: user="vamsidhar janjanam"]Multiple file upload control
use this link.
ya i had did code but the think is if once had upload in to the server when we download it we are not able to modify the file and also again we can not upload the file to the server again after editing.
this is the main problem
Hi,
I think you saving the Image with the "Name of the Image",in this case first you need to delete the Image from the server, after that re-upload the image.
ORYou can save Image Name with GUID.
Hi
Actually the work is client will send us audio files we should download them and type them to word document. After doing every thing work we are again uploading the Doc file to client in server. when client had downloaded the file and wants to modify some name or anything he not able to edit that document.When again asking us to send the file with this modifications then after everything work we are not able to upload the file in to the server.
vamsidhar said: user="vamsidhar janjanam"]Hi Actually the work is client will send us audio files we should download them and type them to word document. After doing every thing work we are again uploading the Doc file to client in server. when client had downloaded the file and wants to modify some name or anything he not able to edit that document.When again asking us to send the file with this modifications then after everything work we are not able to upload the file in to the server.
Can you how us how you do that? And, also - do you get any error message? If yes, what error message?
That way we might help you by correcting your code or will have clearer look at the issue.
If you use FileUpload control and use the SaveAs(fileName) method, if the file already exists on the server, it will get overwritten.
As per the editing of the document, it might be forms-protected or read-only, so that you are not able to make changes.
Ya 2maro morning i will let you know the whole process. So, that you all guys can know the process how it is going on and can help me out of this problem.
Posted: 9/25/2010
provide the the error message and the code where you are getting the error message so that
we can solve it and give you clear cut solution.