I'll add to my own question-in case it might help someone see what I'm missing:
:: NOTE: This is the file I'm attempting to ftp:
C:\Jenkins\workspace\z_Try_FTP\Artifacts>dir /b BuildDependency.txt
BuildDependency.txt
:: Here's my interactive ftp session:
C:\Jenkins\workspace\z_Try_FTP\Artifacts>ftp ##.###.##.###
Connected to ##.###.##.###.
220 NASFTPD Turbo station 2.x 1.3.1rc2 Server (ProFTPD) [##.###.##.###]
User (10.112.20.175:(none)): xxxxx
331 Password required for xxxxx
Password:*******
230 User xxxxx logged in
ftp> cd /A/Dir/On/Remote/Machine
250 CWD command successful
ftp> put BuildDependency.txt
200 PORT command successful
550 BuildDependency.txt: No such file or directory
ftp> bye
221 Goodbye.
:: Please note: My "put" failed. I'm not sure why, but it did.
Interactively, ftp lets me know that the 'put' failed.
The FTP Publish plugin, however, led me to believe that it had succeeded when, in fact, it failed--probably as a result of the same error experienced in the interactive session.
My wishes are:
(1) When the FTP Plugin fails to copy a file, it should detect the failure and cause the job status to be "FAILURE".
(2) I'd like to know why my FTP is failing. I connect to the remote machine OK, but, when I attempt to "ftp put" the file, I'm slapped with a "No such file or directory" error.
Any ideas?
Thanks