FTPPut

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
howl
Junior Coder
Posts: 24
Joined: Tue May 29, 2007 6:41 pm

FTPPut

Post by howl » Thu May 14, 2015 3:10 pm

I'm trying to get FTPPutFile to work and I'm having some issues. Here's the script

Let>IGNORESPACES=1
Let>strFileName=\\file-print\shared\CHRLoadTenders\166516.txt
FTPPutFile>ftp-test.partnerdomain.com,myusername,passwordcontains)(,21,%strFileName%,To_CHR,,A
MessageModal>FTP_RESULT

Note that the password contains end and begin parenthesis. Message modal returns FTP_RESULT. If I put password in quotes I get 221-Goodbye. Not seeing the file posted to the site either way.

Thanks

howl
Junior Coder
Posts: 24
Joined: Tue May 29, 2007 6:41 pm

Re: FTPPut

Post by howl » Thu May 14, 2015 3:22 pm

ok, error on my part. Was pulling from the wrong folder. Now I get the following
Connected
Connection established
Starting FTP transfer
Transfer complete
"550-I/O Error: java.net.ConnectException: Connection refused: connect"

howl
Junior Coder
Posts: 24
Joined: Tue May 29, 2007 6:41 pm

Re: FTPPut

Post by howl » Fri May 15, 2015 1:24 pm

I switched on passive mode and got it to work. Not sure what passive mode is or does but got it running through trial and error.

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