Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

yilmazt81

ok i solve problem .

thanks your interesting.
yilmazt81

here log lines.

. 2012-08-24 17:56:34.529 --------------------------------------------------------------------------
. 2012-08-24 17:56:34.529 WinSCP Version 5.0.8 (Build 2438) (OS 6.0.6002 Service Pack 2)
. 2012-08-24 17:56:34.529 Configuration: nul
. 2012-08-24 17:56:34.530 Local account: ....\Administrator
. 2012-08-24 17:56:34.530 Login time: 24 August 2012 17:56:34
. 2012-08-24 17:56:34.530 --------------------------------------------------------------------------
. 2012-08-24 17:56:34.530 Session name: ...../ (Ad-Hoc session)
. 2012-08-24 17:56:34.530 Host name: 10.6.76.192/ (Port: 21)
. 2012-08-24 17:56:34.530 User name: .....(Password: Yes, Key file: No)
. 2012-08-24 17:56:34.530 Tunnel: No
. 2012-08-24 17:56:34.530 Transfer Protocol: FTP
. 2012-08-24 17:56:34.530 Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
. 2012-08-24 17:56:34.530 Proxy: none
. 2012-08-24 17:56:34.530 FTP: FTPS: None; Passive: Yes [Force IP: A]
. 2012-08-24 17:56:34.530 Local directory: default, Remote directory: home, Update: Yes, Cache: Yes
. 2012-08-24 17:56:34.530 Cache directory changes: Yes, Permanent: Yes
. 2012-08-24 17:56:34.530 DST mode: 1
. 2012-08-24 17:56:34.530 --------------------------------------------------------------------------
. 2012-08-24 17:56:34.546 Connecting to 10.6.76.192/ ...
. 2012-08-24 17:56:36.800 The requested name is valid, but no data of the requested type was found.
. 2012-08-24 17:56:36.801 Connection failed.
martin

Please set Session.SessionLogPath. Compare it again session log file for successful GUI session.
If it does not help, attach both logs here.
yilmazt81

yes i connected winscp ftp client , i can see and upload files .
martin

Re: connect FTP none Secure

Are you sure your server provides FTP interface?
yilmazt81

connect FTP none Secure

hi,

i am using WinSCP .net library for connect ftp . but i get "The requested name is valid, but no data of the requested type was found. Connection failed." exception . i can connect same code with SFTP protocol .

what have to do connect simple ftp connection ?

Session option code,

sessionOptions = new SessionOptions();
sessionOptions.Protocol = Protocol.Ftp;
sessionOptions.HostName = "ipadress";
sessionOptions.UserName = "username";
sessionOptions.PortNumber =21
sessionOptions.Password = "password"
sessionOptions.SshHostKey = ""


session = new Session();

session.Open(sessionOptions); //Throw exception here.