473,834 Members | 1,800 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

transfer file from a https page

1 New Member
I am new in Perl and I need some help with the following,
from a Unix box I want to transfer a file that is in https page port 443, in where I have to put username and password to go inside, but I don't have any idea how to do it, somebody can help me with it. Also an basic example will be welcome

Thanks in advance
Jul 18 '08 #1
2 1514
numberwhun
3,509 Recognized Expert Moderator Specialist
My recommendation is to use the WWW::Mechanize module from CPAN to connect through the HTTPS.

Regards,

Jeff
Jul 18 '08 #2
KevinADC
4,059 Recognized Expert Specialist
I am new in Perl and I need some help with the following,
from a Unix box I want to transfer a file that is in https page port 443, in where I have to put username and password to go inside, but I don't have any idea how to do it, somebody can help me with it. Also an basic example will be welcome

Thanks in advance
If that is all you need to do I would look at the LWP module. Look over this page carefully:

http://search.cpan.org/~gaas/libwww-perl-5.813/lwpcook.pod
Jul 18 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

8
5561
by: Philipp Brune | last post by:
Hi all, the following problem occured to me and I hope somebody can help me : I need to implement an encrypted File download with a PHP script on the server side and a c# client application. I know there is a way to symmetrically encrypt files with the php mcrypt routines and already did implement a
2
2812
by: Philip Korolev | last post by:
Hi All. I am attempting to use SSL for the first time with ASP.NET I would like to be able to send my form details to another page using https:// connection. The page I am sending data to, uses Stored Procedures to add data to SQL Server. However attempting to use https:// in server.transfer (qualifying a full address) is returning an error. How can I use SSL with ASP.NET page transfers? If there is more than one technique, I would appreciate...
3
665
by: Moheb Missaghi | last post by:
Hi, I am getting the following error when using Server.Transfer: System.ArgumentException: Invalid path for child request 'https://....'. A virtual path is expected I am using Server.Transfer("https://...", true). The path in question is a valid url on the internet. Any idea?
2
1596
by: Gigino | last post by:
I'm developing an asp.net application and i need to execute an aspx page using Secure Socket Layer; the problem is: i call the page web form http://server/page1.aspx; when i submit this form, i wanted to use the server.transfer to go to httpS://server/page2.aspx with ssl, but the Transfer method doesn't allow absolute path. Is there a way to do something like that or need i to call with https all my pages? thank you for any help Pietro
6
3413
by: Hanspeter Leupin | last post by:
Hi NG, I used the Internet Data Transfer Library of Dev Ashish found at http://www.mvps.org/access/modules/mdl0037.htm to transfer text files from a server with HTTPS in my old Ms Access 97 application. '----snip---- Sub TestHTTP() On Error GoTo ErrHandler Dim objHTTP As InetTransferLib.HTTP
6
1717
by: Hanspeter Leupin | last post by:
Hi NG, I need a solution for my Access 97 application. I have to transfer a file (size 100-500kb) from a server with https. Example: https://ip.of.my.server/share/textfile.txt -> c:\ Does anybody have a sample code for this? I tried the transfer library of Dev Ashish - but unfortunately this code
8
1847
by: p3t3r | last post by:
I am using .NET2 and have a number of aspx pages. On each page is a LinkButton that performs a server.transfer() to another page. If we use page names A,B,C,D,E as an example. I start on page A and do a server.transfer to page B. The address bar still shows page A (which is what I want). Page B then does a server.transfer to page C. Now the address bar shows the URL for page B (not C and not A which is what I want). Every new...
6
4278
by: chris | last post by:
Client page: <input type="file".....> Server: Apache, OC4J, J2EE app XP, SP1 and updates Works perfectly under HTTP. However, under HTTPS the user needs to hit the submit button really fast to avoid a "page cannot be displayed". All other interaction with the application works well.
1
1343
by: lygine | last post by:
Dear all, I am new to .net, therefore needed your advice/input how to write a program to transfile file from backend (batch job) using https protocol? I need to transfer flat file as batch job to be running for every 5min. will appreciate for your input and advice. thanks, Lygine.
0
9800
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10800
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10556
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9339
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7762
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5629
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4429
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3987
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3085
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.