#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2000
    Posts
    0
    Rep 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
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2000
    Posts
    452
    Rep Power
    15
    cgi-lib.pl has built in file upload capabilities
    http://cgi-lib.berkeley.edu/
  4. #3
  5. Ole` Timer
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2000
    Location
    N.W. Iowa
    Posts
    472
    Rep Power
    15
    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 #
    ##############################
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2000
    Location
    Salem, OR, USA
    Posts
    41
    Rep Power
    15
    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
  8. #5
  9. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2000
    Posts
    0
    Rep 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.
  10. #6
  11. No Profile Picture
    d0g1e
    Guest
    Devshed Newbie (0 - 499 posts)
    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...

IMN logo majestic logo threadwatch logo seochat tools logo