Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: File Copy

by fuzzyping (Chaplain)
on Jul 22, 2002 at 17:48 UTC ( #184155=note: print w/replies, xml ) Need Help??


in reply to File Copy

Can you be more specific? Are you looking for a module with particular features, or just a vanilla copy? If the latter, have you tried system()?

-fp

Update: See Ionitor's detailed example below.

Replies are listed 'Best First'.
Re: Re: File Copy
by amundb (Initiate) on Jul 22, 2002 at 17:55 UTC
    this would just be a vanilla copy of the file. I Tried the system call, but i counldn't get the syntax correct. I was looking for something along the lines of: system "copy $FileName \\somecomputer\folder\there\" how off am I on the syntax? Thanks for the help.
      If I remember correctly, the system function is of the form:
      system($command,$arg1,$arg2,...,$argN)
      So you might have better luck if you split up the command from the arguments. It's worth a try.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://184155]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2022-12-04 15:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?