When i use my code without uncompress part it works fine. But i want to uncompress it first and choose files and ftp only those files.
When i run the script i get this error--
I searched for the uncompress aprt and tried that but that seem to be working. Kindly give some suggestions as how to get rid of this....
Thanks
NT
Last edited by namishtiwari; 07-28-2009 at 04:52 AM..
Reason: commented the uncompress part
You're trying to use unzip without the module being installed, hence the error message. If you're using ActiveState's Perl, IO::Uncompress::Unzip should be available through PPM
It looks like you're trying to uncompress the Zip on the remote server, but FTP doesn't support this. You'll have to download the file.
You're trying to use unzip without the module being installed, hence the error message. If you're using ActiveState's Perl, IO::Uncompress::Unzip should be available through PPM
It looks like you're trying to uncompress the Zip on the remote server, but FTP doesn't support this. You'll have to download the file.
HTH
Hi Pludi,
Thanks for the suggestions. But i could not understand this line
How i can use this to get rid of the problem or if i do not want to install anything then what i can use to get it working.
The later one i will modify.
I can see in my perl modules that these files are there, but still when i ran the script i got these erros--
i have the required files in perl/lib i cross checked but still the error persistes. I want to get rid of these errors.
Thanks
NT
---------- Post updated at 10:51 AM ---------- Previous update was at 10:23 AM ----------
Hi,
I want to clear what exactly i am doing here..
I wrote the above perl script to get the files in a specifed directory called temp. The files which i get all are zipped ones. I want to unzip all the files and choose some which of my interest and delete rest of the files. I achieved the first part but i am struglling for the second.
The files which i am getting after ftp are like this--
Bumping up posts isn't allowed. Also, this isn't a paid-for support forum with guaranteed response times, so you can't expect people to respond ASAP.
From what I'm seeing above, you're missing the Perl module Compress::Raw::Zlib. The trace is: IO::Uncompress::Unzip requires IO::Uncompress::RawInflate requires Compress::Raw::Zlib. Install that module properly and everything should be fine.
Hi,
Is there any way to do scp and uncompress on the fly? At the moment, I am doing scp and then running uncompress of the .Z files in the background.
I am wanting to be able to do scp and then have the uncompress the .Z file in the background.
Any advice much appreciated. Thanks in... (3 Replies)
i have a compressed file, i need to ftp this file to remote server. while ftp i should uncompress and send, but the uncompressed file shouldn't write in the local server file system.
is there any options how to do this using a named pipes in ftp??
greatly appreciate your suggestions? Thanmks (2 Replies)
Hello All,
I am trying to connect to ftp server and get the files. Also i need to rename the file in other ftp dir.
rename method is not allowing me to rename the file in other dir. When i tried copy command by using net::FTP:FILE then perl says it is not installed.
Can some body help me to... (2 Replies)
Hi,
I need to uncompress a gzip and bzip file using java on unix solaris environment. I also need to retreive the header information of the file inorder to differentiate between gzip and bzip file. Please help
Pooja (0 Replies)
Hi all,
I need a shell script that will compress all the files in the UNIX box say /output/foldre/OUT/*.out.
1. I need to compress all the .out files present in this path.
2. The compressed files shuld be FTPed to Windows server say C:\Myfiles
3. Then the FTPed files should be... (3 Replies)
Hi,
We have some clients who will place huge files in to one of the remote server.
And the shell script written in our local server to retrieve client files (using FTP) placed on one of the remote server of ours by clients.
My question Is there any FTP command/script to check from my local... (1 Reply)
i want know how to compress and uncompress file using unix,
compress uncompress,zip,unzip,rar,unrar,how its work and more about this.:confused: (1 Reply)
I did an ftp to copy a tar file from a main server area to the backup server area. I need to get that tar file to uncompress it in backup server. How do I go about it.
Please any suggesstion will be greatly appreciated (1 Reply)
I am getting a 'corupt index' error when I uncompress a file that has been ftped to HP-UX server from a Solaris box. I am actually ftp about 5 files and am able to Uncompress 4 of the files however I get a 'Corrupt Index' error when one of the fifth file is being Uncompressed.
Any help :confused: (2 Replies)