Professional Web Applications Themes

NET::FTP Passive Mode and PORT command - PERL Modules

Removed by Administrator...

  1. Moderated Post

    Default NET::FTP Passive Mode and PORT command

    Removed by Administrator
    Cgn Guest
    Moderated Post

  2. Moderated Post

    Default Re: NET::FTP Passive Mode and PORT command

    Removed by Administrator
    Cgn Guest
    Moderated Post

  3. #3

    Default Re: NET::FTP Passive Mode and PORT command

    Cgn wrote:
    > Finally I found my answer....
    > I add to set the environment Variable FTP_PASSIVE to 1
    > In the shell 'export FTP_PASSIVE=1'
    > or place FTP_PASSIVE=1 in the .bashrc or other startfile
    Better yet, put

    $ENV{FTP_PASSIVE} = 1;

    inside your perl program.
    -Joe
    Joe Smith Guest

  4. #4

    Default Re: NET::FTP Passive Mode and PORT command

    In article <c4scmj$gbf$1news-reader2.wanadoo.fr>, "Cgn" <lyon3wanadoo.fr> writes:
    |>
    |> I have a strange problem under perl 5.8 using NET::FTP
    |>....
    |>
    |> My question is : I there a parameter in PERL to tell him he has to use PASV
    |> mode by default.

    Did you try reading the doentation for Net::FTP? It includes this
    in the source (and hence readable with perldoc Net::FTP) under the
    description of the new() method.


    Passive - If set to a non-zero value then all data transfers will be done
    using passive mode. This is not usually required except for some dumb
    servers, and some firewall configurations. This can also be set by the
    environment variable FTP_PASSIVE.



    --
    --------- Gordon Lack --------------- [email]gml4410ggr.co.uk[/email] ------------
    This message *may* reflect my personal opinion. It is *not* intended
    to reflect those of my employer, or anyone else.
    Lack Mr G M Guest

  5. #5

    Default Re: NET::FTP Passive Mode and PORT command

    That's it....much better !!!

    many thanks joe


    "Joe Smith" <Joe.Smithinwap.com> a écrit dans le message de
    news:IPucc.77726$gA5.955554attbi_s03...
    > Cgn wrote:
    >
    > > Finally I found my answer....
    > > I add to set the environment Variable FTP_PASSIVE to 1
    > > In the shell 'export FTP_PASSIVE=1'
    > > or place FTP_PASSIVE=1 in the .bashrc or other startfile
    >
    > Better yet, put
    >
    > $ENV{FTP_PASSIVE} = 1;
    >
    > inside your perl program.
    > -Joe

    Cgn Guest

Similar Threads

  1. Net::FTP : Passive mode does not work as doented.
    By ro.naldfi.scher@gmail.com in forum PERL Modules
    Replies: 1
    Last Post: June 30th, 08:58 AM
  2. ncftp 2.4.3 - passive mode not working?
    By Troy Piggins in forum Ubuntu
    Replies: 1
    Last Post: January 30th, 12:28 AM
  3. use ftp-upload in passive mode
    By Robby in forum PERL Modules
    Replies: 1
    Last Post: February 25th, 01:41 PM
  4. Does ASP.Net v.1.1 Forms authentication mode require port 80 for http?
    By Michael Coughlin in forum ASP.NET Security
    Replies: 1
    Last Post: December 10th, 11:13 PM
  5. The Problem with Passive Mode ftp server
    By Ken Kauffman in forum Linux Setup, Configuration & Administration
    Replies: 1
    Last Post: July 22nd, 04:45 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139