in reply to Re^3: Having a problem with Net::FTP, I think...
in thread Having a problem with Net::FTP, I think...

Hmmm...I think you are running into issues with your client/server and perhaps nothing to do with your script.

You might want to try log-in to the server manually using a FTP program and then try uploading a file...I tried uploading (using your script) to a directory that i don't have permission and it quits with "permission denied" error message. So i am guessing it is not a permission issue.

Do you have firewalls running?

Another way to check the script is to login into the server (ssh/telnet/rlogin etc. if you can) and then try to run the program on the same server. if you can upload the file then it is your remote machine that is causing the issue.

cheers

SK

  • Comment on Re^4: Having a problem with Net::FTP, I think...

Replies are listed 'Best First'.
Re^5: Having a problem with Net::FTP, I think...
by Spidy (Chaplain) on Sep 06, 2005 at 00:56 UTC
    I took my firewall down, and it worked there...I'm running on OS X, does anyone know exactly which preference I'd need to change in my firewall settings to let it work?
      System Preferences -> Sharing -> Firewall -> New

      Set "Port Name" to "Other", add a TCP port number of 20 (ftp-data), and set the description to whatever you like.
        Tried it, still didn't work. It's locking up on the STOR part again when I do that.