Subject: | strange net::xftp behavior |
Date: | Mon, 22 Oct 2007 15:56:06 -0400 |
To: | <bug-net-xftp [...] rt.cpan.org> |
From: | "Christine Ross" <cross [...] hccs.com> |
Hello,
I have net::xftp and net::SFTP installed on a solaris 8 workstation,
connecting to a windows server running winscp.
The debug output from the perl program show 2 SSH2_FXP_WRITEs
The file size is exactly the total size of those 2 numbers in the
SSH2_FXP_WRITE statements (8192 + 5821). This is my ftp variable that
is used through-out the script.
my %args = (user => $ftpuser, password => $ftppass, debug => 1);
$ftp = Net::xFTP->new(Net::SFTP,$ftpip, %args)
I'm using xFTP because these scripts are used to ftp and sftp and need
to use the same command. I am able to upload smaller files.
Any ideas?
server: sftp: Sent message T:16 I:9
server: sftp: Sent message T:16 I:10
server: sftp: Sent message T:16 I:11
server: sftp: Sent SSH2_FXP_OPEN I:12 P:/opt/websites/
register.company.org/hccs/WC_file.dat
server: sftp: Sent message SSH2_FXP_WRITE I:13 O:0
server: sftp: In write loop, got 8192 offset 0
server: sftp: Sent message SSH2_FXP_WRITE I:14 O:8192
server: sftp: In write loop, got 5821 offset 8192
server: sftp: Sent message T:10 I:15
Uploading WC_file.dat to Server .......... Error: ./
uploadSSH_company2.pl could not upload WC_file.dat to Server.
Sincerely,
Christine Ross
HCCS - Experts in Healthcare Learning
(516)478-4100, x108
cross@hccs.com <blocked::mailto:cross@hccs.com>
HCCS provides online training courses and learning management systems to
healthcare facilities. HCCS has provided over 2.5 million hours of
compliance and competency training courseware to hospitals, teaching
facilities, medical schools, health plans and other health care
entities. The HCCS Compliance Learning Library contains expert training
content in the areas of Medicare, Medicaid, HIPAA, Harassment, Research,
Patient Safety and Quality Improvement Compliance. The HCCS Healthcare
Learning Platform (HLP) is a healthcare specific Learning and Competency
Management System. http://www.hccs.com <blocked::http://www.hccs.com/>
(516) 478-4100 or (877) 933-hccs.
This email message is for the sole use of the intended recipient(s) and
contains confidential and privileged information. Any unauthorized
review, use, disclosure or distribution is strictly prohibited. If you
are not the intended recipient or have received this communication in
error please contact the sender by reply e-mail and destroy all copies
of the original message. Thank you.