Ask a Question related to PERL Beginners, Design and Development.

  1. #1

    Default Obtaining file data

    Hello,

    I am trying to get the specs for files in a remote directory. I need to be
    able to get the name of the file, file size and the date the file was
    updated.Then put it all in a text file that can be emailed.

    Does anyone know where I can go to get an example of how to do this. I am
    working on a Win 2000 box.

    Thanks for any help that you can provide.

    Brian Brown
    Web Developer
    [email]brianbr@daveramsey.com[/email]
    615.371.8881 ext. 5303

    [url]http://www.daveramsey.com[/url]
    [url]http://www.mytotalmoneymakeover.com[/url]

    ORDER DAVE RAMSEY'S NEW BOOK AT [url]www.totalmoneymakeover.com/order[/url]


    Brian Brown Guest

  2. Similar Questions and Discussions

    1. Obtaining rowid on insert
      Given an insert into a simple table whose primary key is an autoincrement is there a reliable way to return the value in a 1-step process? I can...
    2. Linking data, searching data, and format the data file
      I'm sorta new to flash and integrating data and components...I'm usu. an interface designer. I'm trying to link a combo box to a file doesn't...
    3. Obtaining Windows Username
      Hey all, Once again, I find myself requiring your expertise, so I'll say Thank in advance. I was going to try using Kerberos (thanks for the inf...
    4. Obtaining IP adress of browser host ?
      Hi All I have a page where I trigger a command like xterm. <? $cmd="export DISPLAY=$disp ; xterm"; $out=shell_exec($cmd);
    5. oslevel: Timeout obtaining lock.
      After a disk full the AIX 4.3.3 system was rebooted, the database (Progress) running on it had abnormally terminated. When starting the database I...
  3. #2

    Default Re: Obtaining file data

    > Hello,
    >
    > I am trying to get the specs for files in a remote directory. I need to be
    > able to get the name of the file, file size and the date the file was
    > updated.Then put it all in a text file that can be emailed.
    >
    > Does anyone know where I can go to get an example of how to do this. I am
    > working on a Win 2000 box.
    >
    > Thanks for any help that you can provide.
    >
    > Brian Brown
    > Web Developer
    > [email]brianbr@daveramsey.com[/email]
    > 615.371.8881 ext. 5303
    >
    First question, over what protocol?

    [url]http://danconia.org[/url]
    Wiggins D Anconia Guest

  4. #3

    Default RE: Obtaining file data

    Perldoc -f stat

    You can use paths like this in perl
    \\remoteserver\c\path
    Don't forget to escape the \\ in double quote context.
    \\\\remoteserver\\c\\path


    HTH,

    Paul Kraus
    -----------------------
    PEL Supply Company
    Network Administrator
    > -----Original Message-----
    > From: Brian Brown [mailto:brianbr@daveramsey.com]
    > Sent: Thursday, January 29, 2004 11:48 AM
    > To: [email]beginners@perl.org[/email]
    > Subject: Obtaining file data
    >
    > Hello,
    >
    > I am trying to get the specs for files in a remote directory. I need to be
    > able to get the name of the file, file size and the date the file was
    > updated.Then put it all in a text file that can be emailed.
    >
    > Does anyone know where I can go to get an example of how to do this. I am
    > working on a Win 2000 box.
    >
    > Thanks for any help that you can provide.
    >
    > Brian Brown
    > Web Developer
    > [email]brianbr@daveramsey.com[/email]
    > 615.371.8881 ext. 5303
    >
    > [url]http://www.daveramsey.com[/url]
    > [url]http://www.mytotalmoneymakeover.com[/url]
    >
    > ORDER DAVE RAMSEY'S NEW BOOK AT [url]www.totalmoneymakeover.com/order[/url]
    >
    >
    >
    > --
    > To unsubscribe, e-mail: [email]beginners-unsubscribe@perl.org[/email]
    > For additional commands, e-mail: [email]beginners-help@perl.org[/email]
    > <http://learn.perl.org/> <http://learn.perl.org/first-response>

    Paul Kraus Guest

Posting Permissions

  • You may not post new threads
  • You may 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