Networking Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationNetworking Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old March 21st, 2004, 04:40 AM
rambleon rambleon is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 4 rambleon User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 sec
Reputation Power: 0
Question Pcanywhere host - what do I do after connect?

Hi,
I'm a PCAnywhere (10.5) host modem waiting on a Windows 2000 PC. When a PCAnywhere remote calls and logs in I would like to:

1. Transfer files from remote to host.

2. Execute a batch file on the host.

3. Transfer files from host to remote.

4. Logoff and wait for the next remote to login.

Using ole and VB can someone please tell which objects (awrem32/awhost32/winawsvr) and methodes I need to do the above.

Thanks rambleon

Reply With Quote
  #2  
Old March 21st, 2004, 11:35 AM
jono659's Avatar
jono659 jono659 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Location: Canary Islands
Posts: 67 jono659 Negative: is most likely a SPAMMER and a traitor to the cause. 
Time spent in forums: 4 h 5 m 7 sec
Reputation Power: 0
Quote:
Originally Posted by rambleon
Hi,
I'm a PCAnywhere (10.5) host modem waiting on a Windows 2000 PC. When a PCAnywhere remote calls and logs in I would like to:

1. Transfer files from remote to host.

2. Execute a batch file on the host.

3. Transfer files from host to remote.

4. Logoff and wait for the next remote to login.

Using ole and VB can someone please tell which objects (awrem32/awhost32/winawsvr) and methodes I need to do the above.

Thanks rambleon


I'm not sure I understand the question but then again I may not be abreast of the latest products, PCAnywhere modem, is this a piece of hardware?

I only say this because the only PCAnywhere I have come across is the software that does all af the above, forgive me if I am a little out of touch.

JonO

Reply With Quote
  #3  
Old March 21st, 2004, 03:04 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,715 Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 21 m 37 sec
Reputation Power: 688
I don't know about 10.5. PCAW 11 allows you to set up a command queue that you can schedule to run automatically. You can put commands in your queue that will do what you want.
__________________
======
Doug G
======
"Hide, hide witch! The good folk come to burn thee. Their keen enjoyment hid behind their gothic mask of duty." -Mark Clifton

Reply With Quote
  #4  
Old March 22nd, 2004, 12:55 AM
rambleon rambleon is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 4 rambleon User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 sec
Reputation Power: 0
pcaw 11 command queue

Douge thanks for the reply,
I think this is the way i have to go, but before I upgrade to pcaw 11 one question can I put the command queue on the host machine to execute automatically after the remote logs in.

Rambleon

Reply With Quote
  #5  
Old March 22nd, 2004, 03:48 AM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,715 Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 21 m 37 sec
Reputation Power: 688
I use some command queues to automatically backup files on some remote boxes I manage.

The queue is stored on my computer, and scheduled with the windows task scheduler. I have the queues set to automatically log on, execute the commands, and then log off. I guess the commands are automatically transferred over to the host when you get logged on, since there is no need for any command queue on the host for this to work. It works well too, and I don't remember seeing this functionality in pcaw 10.5 or earlier. I have not regretted the upgrade to pcaw 11 even though it's a bit expensive.

Reply With Quote
  #6  
Old March 22nd, 2004, 10:04 AM
rambleon rambleon is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 4 rambleon User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 sec
Reputation Power: 0
Host has command to execute after connect

Doug currently I'm a host waiting for connection, on the host
you can specify 'Command to execute after connect' under caller, privilages. Will I be able to do this in pcaw 11 ?

Thanks for your help

Rambleon

Reply With Quote
  #7  
Old March 22nd, 2004, 05:06 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,715 Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 21 m 37 sec
Reputation Power: 688
Quote:
Originally Posted by rambleon
Doug currently I'm a host waiting for connection, on the host
you can specify 'Command to execute after connect' under caller, privilages. Will I be able to do this in pcaw 11 ?

Thanks for your help

Rambleon

I don't know on this one. I have everything saved in my remote and I'm the only person that connects. There may be a way to fire off commands on connect from the hosts settings, take a look around the pcanywhere site knowledgebase maybe?

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationNetworking Help > Pcanywhere host - what do I do after connect?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway