Hi,
I have a script that transfers files from a Solaris server to target unix servers. The script uses Net::FTP->put to write the files, which can be any number of files, not always the same. This script works flawlessly to many servers.
Sometimes the 'puts' fail, not always on the same file. What is odd is I can transfer that file, and many others with ws-ftp from my PC. Any idea why that would be? First I tried to set the buffer size in the ftp->new to the 4096 like wsftp, from the default 10240, but that didn't work.
I see in the doc about Net::FTP, there is a dataconn class. Can I use those commands without specifying any other class in the perl program? There is a "write ( BUFFER, SIZE [, TIMEOUT ] )" statement. I cannot find any more information about that, like what is the default BUFFER. Can I use it instead of 'put'?
thanks
I have a script that transfers files from a Solaris server to target unix servers. The script uses Net::FTP->put to write the files, which can be any number of files, not always the same. This script works flawlessly to many servers.
Sometimes the 'puts' fail, not always on the same file. What is odd is I can transfer that file, and many others with ws-ftp from my PC. Any idea why that would be? First I tried to set the buffer size in the ftp->new to the 4096 like wsftp, from the default 10240, but that didn't work.
I see in the doc about Net::FTP, there is a dataconn class. Can I use those commands without specifying any other class in the perl program? There is a "write ( BUFFER, SIZE [, TIMEOUT ] )" statement. I cannot find any more information about that, like what is the default BUFFER. Can I use it instead of 'put'?
thanks