|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
I use a credit card gateway company called Authorize.net. They allow you to upload batch files into their system, which they process.
My problem is that Authorize.net only allows you to upload a file manually, using your web browser. An actual human being has to do the upload by clicking on the "Browse" button, finding the file on their hard drive, then pressing Submit. I want to know if a CGI script can upload a file automatically, so that an actual person is not required to get involved. I'm trying to automate the process of uploading files by using a CGI script to do it, instead of a live person. 1. Is this possible? 2. Where can I find more info on how to do this? Thanks in advance for any replies! Jason |
|
#2
|
|||
|
|||
|
cgi-lib.pl has built in file upload capabilities
http://cgi-lib.berkeley.edu/ |
|
#3
|
||||
|
||||
|
You may want to try using the cgi.pm module instead. This is a standard module with PERL 5.003+
Alot easier to use too! ![]() ------------------ Thunder Rain Internet Publishing Providing Personal/Business Internet Solutions that work! http://www.thunder-rain.com Email: info@thunder-rain.com ############################## # Bus Phone: 1(225)686-2002 # # Bus Fax: 1(225)686-2285 # # Pager: 1(225)377-8666 # ############################## |
|
#4
|
|||
|
|||
|
Hello vrtjason,
Have you found a solution to your problem yet? I am trying to do the same. Any ifo would be very helpful thank you. --DVN |
|
#5
|
|||
|
|||
|
We decided in the end to abandon the Batch Upload approach, and instead transmit each transaction, one-by-one, at 2am in the morning using Authorize.Net's ADC Relay method. It's kind of a hack, but it works.
|
|
#6
|
|||
|
|||
|
i know you allready found another solution,
but can't you add an hidden field in the login form which has the location of the file(s) hardcoded and sends them as soon as the client tries to log in? you could add a checkbox which asks the user if it would like to upload his file(s), so when the user just want's to look at his profile, he can do so without sending the files... |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Perl Programming > Uploading a file using CGI (instead of using a web browser) |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|