in reply to Re: net::ftp question
in thread net::ftp question

I have files on two different servers. The script is situated on original server, the file I am receiving on 'site.com'. I can view the situation on both servers using an ftp client. I start with no file on original server then run the script. I then take a look on the original server and find the file has been created, but that it is empty. If thre's a step that I am missing (I used the Cookbook as a basis for this) I'd be grateful for the help.

Replies are listed 'Best First'.
Re^3: net::ftp question
by derby (Abbot) on Dec 18, 2006 at 16:53 UTC

    There's nothing really wrong with your script that I can see. Are you sure the file does not have a zero byte size on site.com?

    -derby
      The file I'm trying to transfer is definitely not empty. But there is something more peculiar - I changed the filename to pick up another file in that directory as a check - and it transferred it without a problem!!

      As I mentioned I definitely am getting the correct file from the server because if I change the name it causes an error. Why it will pick up one file but not another is something very strange...