in reply to Re: Net::FTP with Xlight FTP server
in thread Net::FTP with Xlight FTP server

Thank you for your response.

I've done additional testing and I noticed the following:

- if I run the perl script from my local machine, the files are uploaded to the virtual server successfully.

- If I run the perl script from a virtual box on my machine, the files are sent BUT they are EMPTY. The ftp message just says "Opening Binary mode data connection..." but without transfer complete.

If I am correct:

- it has nothing to do with permission rights since i am using the same user

- firewall is allowing all File transfer protocols.

What could it be? Thank you

Replies are listed 'Best First'.
Re^3: Net::FTP with Xlight FTP server
by GotToBTru (Prior) on Apr 16, 2015 at 14:10 UTC

    Check PASSIVE versus ACTIVE mode.

    Dum Spiro Spero
      You were right... I set passive to 1 and it worked. Thank you so much