CGItemp-file and windows

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

  1. #1

    Default CGItemp-file and windows

    Hi,

    When uploading a file on a windows-server a CGItemp-file is created. This
    file is not deleted after the upload.
    Is there a way that this file will be deleted after upload ?
    In which directorie is this file normally saved (and can I change the
    directory) ?
    Is it possible to know what the filename of this CGItemp-file is exactly
    when a file is uploaded, so I can delete this file myself (within Perl).
    Because now for every upload suchg a file is created, so I can not delete
    all CGItemp-files after upload (maybe someone is uploading another file on
    that moment and then I will delete that CGItemp-file also...)

    Hope this explains what my problem is ;-)

    Thx,

    Arjen


    Arjen Guest

  2. Similar Questions and Discussions

    1. File> to print Windows?
      I want to print all files in a folder, I used to be able to do this in earlier versions before OSX as in in File to Print windows, but do not see...
    2. Open a flash file from another file in seperate windows.
      Anyone know how they do the Dell DJ flash file on www.msn.com? The small icon is flash and when replay is clicked, it opens a seperate transparent...
    3. .fla File in Windows
      Hello, I am trying to open a .fla file in Flash 4 for Windows. When I choose the file, a box comes up with "unexpected file format". This will not...
    4. file and settings transfer Windows XP - windows ME
      does anyone know where I can find the files and settings transfer wizard disk so that I can install it onto one of the computers that runs Windows...
    5. Windows XP Folder/File Encryption removal after Windows XP re-install
      I Have an encrypted directory using Windows XP Encryption I didn't backup the certificate and is a moment of desperation I formatted for my HDD to...
  3. #2

    Default Re: CGItemp-file and windows

    The code I use for this upload is:

    open(ATT,">$upload_dir/$filename");
    binmode ATT;
    $buffer = "";
    while (read($file_to_upload, $buffer, 1024)) {
    print ATT $buffer;
    }
    close ATT;


    Arjen 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