Solved

map to external drive

Posted on 2014-09-29
12
122 Views
Last Modified: 2014-10-10
Hi,

i am trting to map a network drive on a different network using ip addresses

how can i accomplish this

thanks
0
Comment
Question by:M. Jayme Nagy
  • 4
  • 3
  • 2
  • +2
12 Comments
 
LVL 19

Expert Comment

by:Raheman M. Abdul
ID: 40349624
Check if you can ping the ip address on other network.

Right click on your "My Computer" -> click "Map Network drive"
select the drive letter
in Folder:  Type in "\\<IP Address>\
enter authentication username and password with the domain name   ie   OtherNetwork_DOMAIN_NAME\userName
Tick reonnect at login checkbox.
FInish
0
 
LVL 41

Expert Comment

by:pcelba
ID: 40349931
You may also call the WNetAddConnection2 function from your code. More info: http://msdn.microsoft.com/en-us/library/windows/desktop/aa385413(v=vs.85).aspx

FoxPro sample: http://www.news2news.com/vfp/?function=597

C# sample: http://bytes.com/topic/c-sharp/answers/499365-calling-wnetaddconnection2-c

Some software allows to use UNC path directly. You can simply write \\192.168.2.111\c$\folder  instead of  X:\folder.
0
 
LVL 6

Author Comment

by:M. Jayme Nagy
ID: 40350826
HI,

My problem is im trying to do it from outside of the network so i would have to use a public ip

i have tried to add a network map like so

public ip address = 68.192.4.x
internal ip address =192.168.0.103

im thinking i may have to open a port in the router but im not sure
0
ScreenConnect 6.0 Free Trial

At ScreenConnect, partner feedback doesn't fall on deaf ears. We collected partner suggestions off of their virtual wish list and transformed them into one game-changing release: ScreenConnect 6.0. Explore all of the extras and enhancements for yourself!

 
LVL 79

Expert Comment

by:David Johnson, CD, MVP
ID: 40350875
you definitely have to open and port forward a port .. is this external drive a NAS drive or just a USB drive connected to a PC? The devil is in the details
0
 
LVL 6

Author Comment

by:M. Jayme Nagy
ID: 40351486
Hi,

I have two computers at two different different locations.

i want to connect to the my documents folder on one of the machines so i can upload content to it
0
 
LVL 41

Expert Comment

by:pcelba
ID: 40351606
So based on this: http://technet.microsoft.com/en-us/library/cc731402.aspx you should open following ports on your firewall:
TCP 139, 445
UDP 137, 138

But you should also read: http://support2.microsoft.com/kb/298804/en-us
0
 
LVL 79

Expert Comment

by:David Johnson, CD, MVP
ID: 40351729
he would also have to port forward those ports from the router to the computer in question.  Not a good idea, personally I'd use remote desktop
0
 
LVL 19

Expert Comment

by:deroode
ID: 40351737
You definitely don't want to forward ports 139, 445 in your router, as this will make your pc vulnerable to all sorts of malice from the internet.
You could try Teamviewer (www.teamviewer.com), install it on your desktop with unattended access, then use it to connect and transfer files.
0
 
LVL 41

Accepted Solution

by:
pcelba earned 500 total points
ID: 40351751
I agree David. Another option could even be FTP site.
0
 
LVL 6

Author Comment

by:M. Jayme Nagy
ID: 40352448
Hi ,

i dont want to use remote desktop because it times out so quickly.

i was thinking of setting up and FTP but not to sure about it
0
 
LVL 41

Expert Comment

by:pcelba
ID: 40352503
What you mean by "it times out so quickly"? I am connected to RD session the whole day without any problem.
0
 
LVL 19

Expert Comment

by:deroode
ID: 40353968
Configure Timeout and Reconnection Settings for Remote Desktop Services Sessions

http://technet.microsoft.com/en-us/library/cc754272.aspx
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
Resolve DNS query failed errors for Exchange
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…

785 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