Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
1.9k views
in .NET FTP by (120 points)
I use Visual Studio 2005

can you help me on this ERROR "connection closed; transfer aborted"

and this is my code
..
..
ds_client=new DataSet() ;
..
..

ftp.Password =ds_client.Tables [0].Rows[0]["password"].ToString ();
ftp.UserName =ds_client.Tables [0].Rows[0]["username"].ToString ();
ftp.ServerAddress =ds_client.Tables [0].Rows[0]"nom_serveur"].ToString ();

ftp.Connect ();

Path="Doc1/My doc 1"

foreach(string File in ftp.GetFiles (Path))

label2.Text =label2.Text +"\n"+ File;

Please log in or register to answer this question.

Categories

...