I have a working winscp for a different vendor using sftp and getting a file.. For this new script the ftp address is a little different, I am sending (or putting the file) to an ftp.. Something is wrong, but the error message and anything that trys to explain the error message is very vage.. I was hoping someone here could look at the code and see what my error is..
Also I can connect to the ftp3 site through the gui program.. It would be great if from there it would offer a button to create the script from the working connection.. But I don't see it nor did I find anything on the web that suggests the option.. IF there is one, and you know about it, that would help too..
Anyway, below is the information (some data changed to protect) that I hope is enough for someone to point me in the right direction of my blunder..
I have corrected something, although definately not right.. I had made a change, and did not realize it was so bad it stopped creating the log file. I had added on the "AINET\aaaaFTP1" This has to go somewhere, but obviously not where I placed it..
Connection info: (changed to protect)
Host name: ftp3.something.net
Server type: FTP (Remote port 21)
option batch on
option confirm off
#Connect using password
(log built with this code)
#move to correct directory
option transfer binary
#Send file to ftp site
Error from log
. 2014-04-03 12:51:58.535 Connecting to ftp3.something.net ...
. 2014-04-03 12:51:58.551 The requested name is valid and was found in the database, but it does not have the correct associated data being resolved for.
. 2014-04-03 12:51:58.551 Connection failed.