Connecting Tech Pros Worldwide Help | Site Map

Access client folder

Newbie
 
Join Date: Nov 2006
Posts: 10
#1: Jun 18 '07
Hi,
I have to upload files from a client folder to the server. The user may select any folder and the folder may contain any number of files. I provide the users with a text box to enter the file name. I m itereation thru the files in the folder and saving them in a folder on the server. The problem is that this works on the localhost. However, when I upload the prog on the server, the program does not trace the folder typed in the text box although the folder exists on the client machine. I use the following to locate the server on client machine:

DirectoryInfo sourceDir = new DirectoryInfo(txtClientFolderLocation.Text);

Please help!!!!
Reply