in reply to Re: Net::FTP pwd bug?
in thread Net::FTP
Hi,
If you are following the above code try something like :
Have you checked out the documentation? There is a link to examples you can also have a look at.
Hope this helps
Martin
If you are following the above code try something like :
Keep in mind that this is untested, its late and I am seriously sleep deprived.#!/usr/bin/perl use Net::FTP; my $destserv="ftp.myhost.com"; my $destuser="username"; my $destpass="password"; $ftp = Net::FTP->new($destserv) or die "error connecting\n"; $ftp->login($destuser,$destpass); my $mypath = $ftp->pwd(); $ftp->quit(); print "FTP Path: $mypath";
Have you checked out the documentation? There is a link to examples you can also have a look at.
Hope this helps
Martin
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Net::FTP pwd bug?
by mikeock (Hermit) on Oct 12, 2005 at 22:59 UTC | |
by runrig (Abbot) on Oct 12, 2005 at 23:08 UTC | |
by mikeock (Hermit) on Oct 12, 2005 at 23:17 UTC |
In Section
Module Reviews