Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: File Upload - What Next?

by PrakashK (Pilgrim)
on Jul 06, 2001 at 00:40 UTC ( #94267=note: print w/replies, xml ) Need Help??


in reply to File Upload - What Next?

You already have the filehandle. Just read from the filehandle and write to a file in your UPLOAD_DIR.
# after getting $file_handle my $file = "some_name"; # pick a name open F, ">" . UPLOAD_DIR . "$file" or die "$!"; while (<$file_handle>) { print F; } close F; close $file_handle;
/prakash

Replies are listed 'Best First'.
Re: Re: File Upload - What Next?
by Thathom (Acolyte) on Jul 06, 2001 at 10:50 UTC
    Thankyou, thats helped alot

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://94267]
help
Chatterbox?
marto quacks
[1nickt]: LanX You flatter yourself. I downvote only posts that I believe do not support and promote Perl. These would include threads berating P5P volunteers and others.

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2018-04-26 10:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?