Problem with FTPPutFile

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
Okapi
Junior Coder
Posts: 28
Joined: Wed Dec 29, 2010 1:22 am

Problem with FTPPutFile

Post by Okapi » Fri Mar 25, 2011 6:28 pm

Hi all,

When I upload any file with FTPPutFile, it shows transfert complete and FTP_RESULT is command successful. But in the host, the file is always empty it's size 0 byte !

Have tried many file types with ASCII and binary modes. Tried FTP_PASSIVE=0 and 1. Windows XP firewall is down.

Code: Select all

Let>FTP_STATUS=1
FTPPutFile>ftphost,username,password,21,C:\file.txt,/folder,file.txt,A
Any solution ? thanks.

adroege
Automation Wizard
Posts: 438
Joined: Tue Dec 07, 2004 7:39 pm

Post by adroege » Fri Mar 25, 2011 8:25 pm

I have used this command with success many times in the past.

What version of Macro Scheduler are you using?


You may need to supply the server,username,password you are using in order for one of us to replicate your problems.

Can you upload to this server using another FTP client (FileZilla) or similar?

Okapi
Junior Coder
Posts: 28
Joined: Wed Dec 29, 2010 1:22 am

Post by Okapi » Fri Mar 25, 2011 11:47 pm

I've found the problem : that happens only in virtual machines with NAT mode. So such problem with Bridge mode, and Windows firewall is not even triggered.

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts