How to use Perl and SOAP to transfer files

Posted on 2006-05-09
Last Modified: 2010-04-06
I would like to write a SOAP client and server to send and to receive files. The files will mostly be exe, zip, and various image files. Whats the best way to accomplish this in perl? I have been reading some stuff on the net and some suggest using MIME some suggest other methods. I just want someone with experience doing this to give me their feedback.
Question by:amesdaq
    LVL 23

    Expert Comment


    Author Comment

    Actually I figured it out already. Much easier way

    my $data;
    my $fh;
    my $filename = $ARGV[1];
    open ($fh, "$filename");
    while (<$fh>)
    close $fh;
    my $som = $client->file($filename, $data);
    LVL 1

    Accepted Solution

    PAQed with points refunded (125)

    Community Support Moderator

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Join & Write a Comment

    Suggested Solutions

    Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
    SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
    The viewer will learn how to count occurrences of each item in an array.
    The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now