Monk_Novice has asked for the wisdom of the Perl Monks concerning the following question:
$g_FtpCnxn = Net::FTP->new($l_Server,Debug => 0); $g_FtpCnxn->login($l_Login ,$l_Passwd); $g_FtpCnxn->ascii; $l_Result = $g_FtpCnxn->put($l_SrcFile) $l_TgtFileName = "$l_TgtFile/$l_Result"; $l_ServerSize = $g_FtpCnxn->size($l_TgtFileName) # Size on Unix @s_temp = stat($l_SrcFile); $l_LocalSize = $s_temp[7]; # Size on Windows
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Ascii upload ruins the file
by ikegami (Patriarch) on May 19, 2005 at 14:57 UTC | |
by Monk_Novice (Acolyte) on May 23, 2005 at 08:35 UTC | |
|
Re: Ascii upload ruins the file
by osunderdog (Deacon) on May 19, 2005 at 14:00 UTC | |
|
Re: Ascii upload ruins the file
by 5mi11er (Deacon) on May 19, 2005 at 14:26 UTC | |
by ikegami (Patriarch) on May 19, 2005 at 14:44 UTC | |
by osunderdog (Deacon) on May 19, 2005 at 19:00 UTC |