The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > Hardware > Filesystems, Disks and Memory
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 04-24-2009
kishorepotta kishorepotta is offline
Registered User
  
 

Join Date: Apr 2009
Posts: 2
Not able to FTP the files to a FTP server

Hi ,

We are facing a weird problem in our project. we need to send some xml & audio files to a remote FTP server from a Linux box, we are doing this in Perl script using Net::FTP->. Issue here is.. when FTPed the files using Perl scripts, only empty files ( 0 byte) are getting created on the remote server and data is not getting written onto the server. But we are able to manually transfer files to FTP server through a FTP tool but they fail when we try to do the same through Perl script. We checked on the remote server and there is a lot of free space on the server.

Our script is returning 'Bad File Descriptor' error where as it is working fine for all the rest of the other 50 FTP servers we have.

Any help /inputs regards this issue would be greatly appreciated.

Thanks