Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I can copy/transfer a file from my Windows 2000 workstation to an Info Server using Perl script with File-Copy module. But when I try and copy/transfer the same file from my Windows 2000 Server (using the same Perl script with File-Copy module) to the same Info server it says it can not find the Info server and does not work.
I assume this could be a Firewall problem on the server and not a script issue? Or is there something in Perl I can do to find out what the issue is?
The destination directory in the Info server has a space in it but I read File-Copy can handle that so I know that is not the issue. Here is my copy and directory exist check condition:
I assume this could be a Firewall problem on the server and not a script issue? Or is there something in Perl I can do to find out what the issue is?
The destination directory in the Info server has a space in it but I read File-Copy can handle that so I know that is not the issue. Here is my copy and directory exist check condition:
copy($sourceFile,$destinationFile) || die "$!"; ..... if(!-d $destinationFile) { print "Destination Directory not found."; }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: File transfer not working on server
by Jenda (Abbot) on Aug 21, 2006 at 23:03 UTC | |
Re: File transfer not working on server
by izut (Chaplain) on Aug 21, 2006 at 18:29 UTC | |
Re: File transfer not working on server
by izut (Chaplain) on Aug 21, 2006 at 18:58 UTC | |
by Anonymous Monk on Aug 21, 2006 at 19:12 UTC | |
by izut (Chaplain) on Aug 21, 2006 at 19:26 UTC | |
by Anonymous Monk on Aug 21, 2006 at 22:14 UTC | |
by izut (Chaplain) on Aug 22, 2006 at 10:41 UTC | |
| |
Re: File transfer not working on server
by mantra2006 (Hermit) on Aug 22, 2006 at 16:40 UTC |
Back to
Seekers of Perl Wisdom