JohnnyC has asked for the wisdom of the Perl Monks concerning the following question:

I've used the example upload script that comes with Active Perl 5, but the problem is it uses ascii mode to upload on a windows server. That makes it impossible to upload graphics. I know the script works in binary mode on a unix server, and graphic uploading works fine. The problem is for this project I'm stuck with windows. Any Ideas???
  • Comment on How do I upload files in binary mode to a windows server?

Replies are listed 'Best First'.
Re: How do I upload files in binary mode to a windows server?
by davorg (Chancellor) on Nov 07, 2001 at 19:23 UTC
Re: How do I upload files in binary mode to a windows server?
by Rex(Wrecks) (Curate) on Nov 07, 2001 at 23:02 UTC
    One of the biggest file transfer differences between most *nix services and most Windows services is that *nix defaults to binary mode and most Windows services default to ASCII mode. Almost any file transfer service will have a toggle to change this.

    "Nothing is sure but death and taxes" I say combine the two and its death to all taxes!