Perl Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesPerl Programming

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:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old December 11th, 2000, 10:01 PM
vrtjason vrtjason is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2000
Posts: 0 vrtjason User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #2  
Old December 14th, 2000, 02:47 PM
Dingle Dingle is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2000
Posts: 452 Dingle User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 43 m 12 sec
Reputation Power: 8
cgi-lib.pl has built in file upload capabilities
http://cgi-lib.berkeley.edu/

Reply With Quote
  #3  
Old December 17th, 2000, 11:43 AM
mickalo's Avatar
mickalo mickalo is offline
Ole` Timer
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2000
Location: N.W. Iowa
Posts: 469 mickalo User rank is Private First Class (20 - 50 Reputation Level)mickalo User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 5 h 19 sec
Reputation Power: 8
Send a message via AIM to mickalo Send a message via MSN to mickalo
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 #
##############################

Reply With Quote
  #4  
Old January 1st, 2001, 05:16 AM
ThaBomb ThaBomb is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2000
Location: Salem, OR, USA
Posts: 41 ThaBomb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
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

Reply With Quote
  #5  
Old January 1st, 2001, 02:58 PM
vrtjason vrtjason is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2000
Posts: 0 vrtjason User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #6  
Old January 6th, 2001, 01:28 PM
d0g1e
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
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...

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPerl Programming > Uploading a file using CGI (instead of using a web browser)


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 3 hosted by Hostway