VPN consistency with mapped drives

Ravagekd

Junior Member
Feb 26, 2002
3
0
0
I have a rather (what I feel to be) unique problem and don't know if anyone here could help me out. I have a VPN set up here for my work using GnatBox, and we use this VPN for having the two companies in our building have a secure connection to each other (long story why it isn't a simple intranet) We have a billing database upstairs, which holds files and databases that I want to access. We have the web server downstairs which I'm working with trying to get information from the upstairs machine. As far as the database stuff goes, the VPN works beautifully. But I have a mapped network drive in place so that I can (potentially) grab and send files over the VPN as well. This works fine in a windows setting, but in my applications it doesn't...

I have some code on the webserver that allows users to upload a file to the webserver, and what I'm trying to do is automagically move those files to our upstairs server. But when the application hits the mapped network drive the VPN is, more often than not, locked down and the application fails for not being able to instantly make it through the connection. Is there a way I can constantly keep the VPN connection live so that these file transfers can happen via the application? Right now I am stuck using a hack that stores the files locally on the webserver, emails me that a file has been uploaded, and I have to VNC into the machine and manually open the mapped drive and move the files by hand. It works, but isn't as automated as I need it and I will soon have other applications that need to do similar functions and I'd like to finally get this problem cleared up.

If anyone can help, I'd really appreciate it.

 

SaigonK

Diamond Member
Aug 13, 2001
7,482
3
0
www.robertrivas.com
Pehaps you could decrease the timeout for your VPN connection?
Normally VPN will send a packet quite often to the server so a pure connection shouldnt be the issue.
 

Ravagekd

Junior Member
Feb 26, 2002
3
0
0
Heh, as I'm still learning the ropes of using this VPN you have to forgive me if I sound ignorant. But would it be possible for me to set the VPN to never timeout? You said the VPN sends packets to the server, is this a heartbeat or do you mean when files are going through it?