SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Web Based Download
Goto page Previous  1, 2
 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Web Based Download
Author Message
Boulent Mustafa



Joined: 08 Mar 2005
Posts: 13

Post Re: Web Based Download Reply with quote

: Do you connect through HTTP proxy server?

No.

Fri Mar 11, 2005 11:37 am View user's profile Send private message
Boulent Mustafa



Joined: 08 Mar 2005
Posts: 13

Post Re: Web Based Download Reply with quote

: No.

However looking at Windows Services I do have the
following.

Symantec Proxy Service
Visual Studio Debugger Proxy Service.

Could either of these make a difference ?

Fri Mar 11, 2005 11:50 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7974

Post Re: Web Based Download Reply with quote

Because it works in the web browser and you cannot get it working in the script using Web commands try the following temporary workaround

Dim id, number
// 1. just in case close any open Internet Explore window
RunAndWait "ProcessKill /T 3 IEXPLORE.EXE", "", 60, id
// 2. Open URL in the web browser
WebOpenPage "http://username:password@www.filehere.com/members/filetodownload.txt"
Wait 10
// 3. Send keystrokes to the Open/Save dialog and make it save the file where needed
SendKeys "{ALT}Sc:\\localfile.txt{ENTER}"
// 4. Wait up to 60 seconds for download to complete and then close the web browser
RunAndWait "ProcessKill /T 60 IEXPLORE.EXE", "", 180, id

: Do you connect through HTTP proxy server?

Fri Mar 11, 2005 11:51 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7974

Post Re: Web Based Download Reply with quote

Symantec Antivirus can be configured or pre-configured to let only certain programs get out to the Internet. If this is the case it may block 24x7.
Please see my previous message with the suggested workaround.

: However looking at Windows Services I do have the
: following.

: Symantec Proxy Service
: Visual Studio Debugger Proxy Service.

: Could either of these make a difference ?

Fri Mar 11, 2005 11:54 am View user's profile Send private message
Boulent Mustafa



Joined: 08 Mar 2005
Posts: 13

Post Re: Web Based Download Reply with quote

: Because it works in the web browser and you cannot get it working in the
: script using Web commands try the following temporary workaround

: Dim id, number
: // 1. just in case close any open Internet Explore window
: RunAndWait "ProcessKill /T 3 IEXPLORE.EXE", "", 60, id
: // 2. Open URL in the web browser
: WebOpenPage " http://username
: :password@www.filehere.com/members/filetodownload.txt"
: Wait 10

: // 3. Send keystrokes to the Open/Save dialog and make it save the file where
: needed
: SendKeys "{ALT}Sc:\\localfile.txt{ENTER}"
: // 4. Wait up to 60 seconds for download to complete and then close the web
: browser
: RunAndWait "ProcessKill /T 60 IEXPLORE.EXE", "", 180, id

WebOpenPage(http://username:password@www.filehere.com/members/filetodownload.txt)

Using this example instead of @www.

I am getting @6ww.


Fri Mar 11, 2005 12:23 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7974

Post Re: Web Based Download Reply with quote

Try either @@www or @WWW.

PS. I wonder if that is the reason for WebGetPageHTML and WebGetFile failing in the first place.

: WebOpenPage( http://username
: :password@www.filehere.com/members/filetodownload.txt)

: Using this example instead of @www.

: I am getting @6ww.

Fri Mar 11, 2005 1:11 pm View user's profile Send private message
Boulent Mustafa



Joined: 08 Mar 2005
Posts: 13

Post Re: Web Based Download Reply with quote

: Try either @@www or @WWW.

: PS. I wonder if that is the reason for WebGetPageHTML and WebGetFile failing
: in the first place.

Thanks alot.

By using the @@www together with WebGetPageHTML I
have managed to get it working.


Sat Mar 12, 2005 6:25 am View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.