jack niekerk
asked on
How to map a FTP adress to a driveletter in VB6
When I use this snippet wich I got from a other qst, this will work fine on a internal IP adres on my Nas driev, but how to use this when I ' am outside,
and the Nas drive has a good working FTP connection
This is snippet for inside the office
Private Sub cmdMAP_Click()
Dim WN
DL = "S:"
rp = "\\192.168.2.254\TOTALVERS "
Set WN = CreateObject("WScript.Netw ork")
WN.MapNetworkDrive DL, rp
End Sub"
but when I do eg.
rp = "ftp://jack@xx.xx.xx.x./TOTALVERS"
or
rp = "ftp://jack@xx.xx.xx.x./"
I get error networkadress not supported
When I use explorer , making a new network connection it will work,
Thus the qst is , is it possible to make a connection to FTP this way, and then add a Drive letter to it?
and the Nas drive has a good working FTP connection
This is snippet for inside the office
Private Sub cmdMAP_Click()
Dim WN
DL = "S:"
rp = "\\192.168.2.254\TOTALVERS
Set WN = CreateObject("WScript.Netw
WN.MapNetworkDrive DL, rp
End Sub"
but when I do eg.
rp = "ftp://jack@xx.xx.xx.x./TOTALVERS"
or
rp = "ftp://jack@xx.xx.xx.x./"
I get error networkadress not supported
When I use explorer , making a new network connection it will work,
Thus the qst is , is it possible to make a connection to FTP this way, and then add a Drive letter to it?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Ah, well if WebDrive isn't working for you I'm not sure what will. I've never used it myself, but a friend of mine uses--and speaks very highly of--the LogMeIn Hamachi VPN manager. Perhaps you could use something like that to setup limited and secure VPN accounts.
https://secure.logmein.com/products/hamachi/vpn.asp
https://secure.logmein.com/products/hamachi/vpn.asp
ASKER
OK will try that out
ASKER
it looks like we must give everybody still a vpn capable router/modem
ASKER
So we did buy as a substitute WEBDRIVE, problem with this is, that is that it will not refresh allways the mapped drive,
Then I tried with shelled commandline in WEBDRIVE to disconnect and reconnect, but the loop time for that is to long