Paul Kraus wrote:
I have a perl script that uses file::copy to copy files from a server
Funny, I couls only find File::Copy on cpan but no file::copy :)
to the local machine. It does alot more then that but is pretty much the jist of what is taking place. Currently i have to have the local machine first establish the connection so that authentication takes place.
start -> run \\server\path\share
Auth Window pops up, i enter the authentication. Now i can run my script.
I want the script to handle the connection.
Any suggestions?
Yes, post working code that dispalys this behavior :)
http://search.cpan.org/~nwclark/perl-5.8.6/lib/File/Copy.pm doesn't work with remote file transfers unless I'm missing something...
Probably you want Net::FTP, or if you want to interact with the prompt expect of some kind may work, or LWP if its via http
Basically the code is essential because File::Copy doesn't have anythign to do with what you're describing and there's no way to answer your question without having a context to figure out what you're asking.
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>