Skip Menu |

This queue is for tickets about the Net-xFTP CPAN distribution.

Report information
The Basics
Id: 91600
Status: resolved
Priority: 0/
Queue: Net-xFTP

People
Owner: turnerjw784 [...] yahoo.com
Requestors: Zeev.Atlas [...] pimco.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.50



Subject: Local cwd defaults to pwd and does not allow directory change
Date: Mon, 23 Dec 2013 20:53:36 +0000
To: "'bug-Net-xFTP [...] rt.cpan.org'" <bug-Net-xFTP [...] rt.cpan.org>
From: "Atlas, Zeev" <Zeev.Atlas [...] pimco.com>
Sir Local cwd defaults to pwd and does not allow directory change We try to use Net::xFTP to help us simulate few protocols that we are using based on metadata from our database. We try to have the same code for all protocols. Some FTP sites are actually local directories so we would like the $ftp-cwd(directory) to translate to 'cd directory' Unfortunately when I issue: $ftp->cwd( $data{ FTP_DIR } ) Where $data{ FTP_DIR } is clearly my desired directory That does NOT change the working directory at all and I am still where I used to be, so when I issue: $DIR = $ftp->ls(); I see my execution directory rather than the data directory that I want. Ze'ev Atlas 646-480-5875 This message contains confidential information and is intended only for the individual named. If you are not the named addressee, you should not disseminate, distribute, alter or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmissions cannot be guaranteed to be secure or without error as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender, therefore, does not accept liability for any errors or omissions in the contents of this message which arise during or as a result of e-mail transmission. If verification is required, please request a hard-copy version. This message is provided for information purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments in any jurisdiction. Securities are offered in the U.S. through PIMCO Investments LLC, distributor and a company of PIMCO LLC.
On Mon Dec 23 15:53:49 2013, Zeev.Atlas@pimco.com wrote: Show quoted text
> Sir > Local cwd defaults to pwd and does not allow directory change > > We try to use Net::xFTP to help us simulate few protocols that we are > using based on metadata from our database. We try to have the same > code for all protocols. > > Some FTP sites are actually local directories so we would like the > $ftp-cwd(directory) to translate to 'cd directory' > > Unfortunately when I issue: > $ftp->cwd( $data{ FTP_DIR } ) > > Where $data{ FTP_DIR } is clearly my desired directory > > That does NOT change the working directory at all and I am still where > I used to be, so when I issue: > $DIR = $ftp->ls(); > > I see my execution directory rather than the data directory that I > want. > > > Ze'ev Atlas > 646-480-5875 > > This message contains confidential information and is intended only > for the individual named. If you are not the named addressee, you > should not disseminate, distribute, alter or copy this e-mail. Please > notify the sender immediately by e-mail if you have received this e- > mail by mistake and delete this e-mail from your system. E-mail > transmissions cannot be guaranteed to be secure or without error as > information could be intercepted, corrupted, lost, destroyed, arrive > late or incomplete, or contain viruses. The sender, therefore, does > not accept liability for any errors or omissions in the contents of > this message which arise during or as a result of e-mail transmission. > If verification is required, please request a hard-copy version. This > message is provided for information purposes and should not be > construed as a solicitation or offer to buy or sell any securities or > related financial instruments in any jurisdiction. Securities are > offered in the U.S. through PIMCO Investments LLC, distributor and a > company of PIMCO LLC.
Should be fixed in new version 0.50! Post back if not!
On Sat Jan 24 12:40:06 2015, TURNERJW wrote: Show quoted text
> On Mon Dec 23 15:53:49 2013, Zeev.Atlas@pimco.com wrote:
> > Sir > > Local cwd defaults to pwd and does not allow directory change > > > > We try to use Net::xFTP to help us simulate few protocols that we are > > using based on metadata from our database. We try to have the same > > code for all protocols. > > > > Some FTP sites are actually local directories so we would like the > > $ftp-cwd(directory) to translate to 'cd directory' > > > > Unfortunately when I issue: > > $ftp->cwd( $data{ FTP_DIR } ) > > > > Where $data{ FTP_DIR } is clearly my desired directory > > > > That does NOT change the working directory at all and I am still where > > I used to be, so when I issue: > > $DIR = $ftp->ls(); > > > > I see my execution directory rather than the data directory that I > > want. > > > > > > Ze'ev Atlas > > 646-480-5875 > > > > This message contains confidential information and is intended only > > for the individual named. If you are not the named addressee, you > > should not disseminate, distribute, alter or copy this e-mail. Please > > notify the sender immediately by e-mail if you have received this e- > > mail by mistake and delete this e-mail from your system. E-mail > > transmissions cannot be guaranteed to be secure or without error as > > information could be intercepted, corrupted, lost, destroyed, arrive > > late or incomplete, or contain viruses. The sender, therefore, does > > not accept liability for any errors or omissions in the contents of > > this message which arise during or as a result of e-mail transmission. > > If verification is required, please request a hard-copy version. This > > message is provided for information purposes and should not be > > construed as a solicitation or offer to buy or sell any securities or > > related financial instruments in any jurisdiction. Securities are > > offered in the U.S. through PIMCO Investments LLC, distributor and a > > company of PIMCO LLC.
> > > Should be fixed in new version 0.50! Post back if not!