PC Review


Reply
Thread Tools Rate Thread

upload file to server

 
 
=?Utf-8?B?bG91aXNlIHJhaXNiZWNr?=
Guest
Posts: n/a
 
      23rd Feb 2005
Hi there, I am using the File class in .net (c#) to upload a file to a web
application using File.Copy(<file i specify>,<new location>). When i use my
app locally, choose a random document from my file system, it works fine and
i end up with two of the same documents in diff locations. When I do it on
our server it says it cant find the file (obviously my input=file control
does a browse on my file directory but when it goes to do File.Copy it cant
find the file in its own directory system as its the server not my machine).
Is there something else i must do to say 'not only look for file on client,
but take file.copy from client machine aswell). not sure how. Anyone had the
same problem (not a bug i just could do with someone to tell me how they did
it)

Thanks.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
upload file to server immed after user selects the file Steve Richter Microsoft ASP .NET 1 25th May 2007 08:43 AM
Large file upload to server (webdav/http file post/other?) Weston Weems Microsoft Dot NET Framework 0 25th Jan 2005 05:15 PM
How to upload file > 4GB on web server from ASP.NET DotNetJunkies User Microsoft ASP .NET 3 1st Aug 2004 04:36 AM
How to upload file > 4GB on web server from ASP.NET DotNetJunkies User Microsoft ASP .NET 0 31st Jul 2004 07:40 AM
How to upload file > 4GB on web server from ASP.NET parthivjoshi@rediffmail.com Microsoft ASP .NET 0 31st Jul 2004 07:38 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:55 PM.