![]() |
|
laziness, impatience, and hubris | |
PerlMonks |
Re: Net::FTP via CGI mysteryby FuzInc (Initiate) |
on Sep 04, 2013 at 15:32 UTC ( [id://1052376]=note: print w/replies, xml ) | Need Help?? |
I'm having the same problem except it connects to the remote server, and prints at the "Connected to $host" line, but then stops completely just before or during the 'get' command. This is when run from the browser. It works perfectly from the command line. I don't understand! I'm a bit of a newbie, and so I'm not sure on how to generate debug information in the browser window. Help!? I've tried all the suggestions I've seen on here so far (I think) with no joy - including the passive settings, and I'm not sure what to do next! Basically I'm trying to automate the movement of a file from one server (FTP) to another (SFTP) on our system. I know th path to file and I'm not using cwd() as it works fine in command line...would cwd() help? Any help would be hugely appreciated! I haven't even gotten to any possible problems with Net::SFTP::Foreign! Here's the code:
In Section
Seekers of Perl Wisdom
|
|