Solved

Uploading of file to server

Posted on 2006-07-05
8
190 Views
Last Modified: 2010-04-23
Hi, i am building a vb.net app and i am required to let the user choose a file on their local drive and upload it to the server which is on the LAN. I was using the file.copy method and copy it to a mapped network drive but the way i am doing it is to...manually map the drive so if i have 100 clients...i will have to map the drive a 100 times? and after mapping the client can just go to my computer and access the drive. are there any better ways of doing this? preferably programmatically. thanks
0
Comment
Question by:jaxrpc
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
8 Comments
 
LVL 19

Expert Comment

by:Rimvis
ID: 17042133
How to upload a file to a Web server in ASP.NET by using Visual Basic .NET
http://support.microsoft.com/kb/323245/EN-US/

0
 

Author Comment

by:jaxrpc
ID: 17047547
sorry i am not using asp.net here. Just vb.net for desktop applications
0
 

Author Comment

by:jaxrpc
ID: 17047553
Maybe just to clarify..the server i am talking about is a file server.
0
 
LVL 24

Accepted Solution

by:
Jeff Certain earned 500 total points
ID: 17051700
Rather than mapping, try using the full path in code:
\\servername\folder name\file name

You'll proabbly need ot make sure that permissions are correctly set (i.e. there's a shared folder available)
0
 
LVL 24

Expert Comment

by:Jeff Certain
ID: 17208063
Bob,

Full points to me on this one.  :)

Jeff
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question