Solved

map to external drive

Posted on 2014-09-29
12
128 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
[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
  • 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 42

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
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 
LVL 80

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 42

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 80

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 42

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 42

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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

At the beginning of the year, the IT world was taken hostage by the shareholders of LogMeIn. Their free product, which had been free for ten years, all of the sudden became a "pay" product. Now, I am the first person who will say that software maker…
This collection of functions covers all the normal rounding methods of just about any numeric value.
Viewers will learn the different options available in the Backstage view in Excel 2013.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

733 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