I have researched this topic in the forum boards, but did not find a solution, hence the post. I have an outbound ftp thread that can connect to the vendor’s server but cannot “put” the file in the specified directory. It will only write zero byte file and the thread errors out after a write. I also made sure the active mode was not checked on the thread config in Cloverleaf.
When I tried to do the ftp manually on the command line, I was able to log in and cd to the directory specified. But when I do a lsputpassive
Is this a vendor FTP config issue? Thanks for any input on this issue.
Here is what happened on the command line:
hci@######>ftp hostname
Connected to ###.##.##.##
220 (vsFTPd 2.0.5)
Name (###.##.##.##:username): ######
331 Please specify the password.
Password:
230 Login successful.
ftp> put 10100_star_20120524_TEST
200 PORT command successful. Consider using PASV.
150 Ok to send data.
(I had to CTRL C out of the hang up here)
send aborted
226 File receive OK.
ftp> passive (After I specify passive, the put works well)
Passive mode on.
ftp> put 10100_star_20120524_TEST
227 Entering Passive Mode (174,18,14,658,97,133)
150 Ok to send data.
226 File receive OK.
64 bytes sent in 0.05039 seconds (1.24 Kbytes/s)
local: 10100_star_20120524_TEST remote: 10100_star_20120524_TEST
ftp> ls
227 Entering Passive Mode (174,18,14,678,52,101)
150 Here comes the directory listing.
10100_star_20120524_TEST
archive
226 Directory send OK.
ftp>quit