Hello Team,
Thanks for your reply.
Actually for download a file from FTP, I am using the same code ('GetFile') which you have suggested me in the above reply like the below code.
Ftp ftp = new Ftp();
try
{
ftp.Connect("server");
ftp.Login("username", "password");
ftp.GetFile(@"C:\MyData\downloaded.txt", "file.txt");
ftp.Disconnect();
}
catch(FtpException ex)
{
Console.WriteLine(ex.ToString());
}
finally
{
ftp.Dispose();
}
The above "GetFile" method is working fine for regular FTPs. But our client given us the below command to download the file from their FTP. The command is working fine in MS-DOS prompt and we can download the file. But without using the command we can't download the file using our Rebex mehtods (GetFile).
Command
ftp> Get "$$ ID=EPNY36 BID='CC7890' PASSWORD=XYZ" "your\path\filename"
Please help me to execute above command using Rebex components.
And one more doubt is : Can we have COM components in our Rebex dlls?
Thanks & Regards
Naga Suresh D