Dear all: I wonder whether I can use perl script to simulate the press button action in a java applet. Here is what is happening now 1)Every night, I will Launch IE and enter the company download page 2) I then Press the button located inside a Java Applet 3) I then Click Save to save the file. Since there are 30 files that should be downloaded in this manner, I wonder whether I can use perl script to automate this process. Many thanks Jack - Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want.
Hi, I've seen that is stranger than I thought. Yes I also tried with HTTP in all caps, and I have also seen that I need to specify the entire URI, not only the directory name, something like: GET http://www.symantec.com/ HTTP/1.0 ...but the strange part is that this command works, but only if I use Telnet under Linux. If I try to use the Telnet client under Windows 2000, it disconnects from the server after the first character of this command (G). The same Windows Telnet can access other sites without problems however and I don't know what could be the problem for not working. Thanks. From: Andy Lester [EMAIL PROTECTED] Subject: Re: Problem downloading a page GET / http/1.0 HTTP must be in all caps. xao
GET / http/1.0 HTTP must be in all caps. xao -- Andy Lester = [EMAIL PROTECTED] = www.petdance.com = AIM:petdance
-Original Message- From: Octavian Rasnita [mailto:[EMAIL PROTECTED] Sent: Thursday, 12 February 2004 8:37 PM To: [EMAIL PROTECTED] Subject: Problem downloading a page Hi all, I have seen that I cannot download some pages, like www.symantec.com using LWP. In fact I have also tried: telnet www.symantec.com 80 GET ... I've just had a quick test using lwp-download and it seems to work fine downloading http://www.symantec.com/index.html C:\Perl\binlwp-download.bat http://www.symantec.com/index.html 29.2 KB received I'm not surprised that you can't telnet http://www.symantec.com. I'm sure most site won't support telnet unless it's your ISP. -- Wenjie Wang(a.k.a. William)[EMAIL PROTECTED] WANG Infonology Systems Ph:(02)-98712018; mob:0412688380 http://users.bigpond.net.au/WISeAgent ==
Ok, I have tried again, and now I've seen that my program can download that page, but I still don't know why I cannot telnet to that page. I have tried: telnet www.symantec.com 80 This should try to connect on port 80, so the web server should respond, not the telnet server on that host. But after trying to manually type: GET / http/1.0 ...in order to display the main page, it disconnects after pressing the first char (G). Do you have any idea what could be the problem? Thanks. - Original Message - From: (William) Wenjie Wang [EMAIL PROTECTED] To: Octavian Rasnita [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, February 13, 2004 6:11 AM Subject: RE: Problem downloading a page -Original Message- From: Octavian Rasnita [mailto:[EMAIL PROTECTED] Sent: Thursday, 12 February 2004 8:37 PM To: [EMAIL PROTECTED] Subject: Problem downloading a page Hi all,