I am using the FTP Client component to a VAX VMS server and I am getting an exception when I try to use the ListDirectoryDetails function.
I get the exception message:
Invalid format of list item:CNXRMS.LOG;70 3 5-OCT-2007 13:29 [NCA,DPMJM] (RWED,RWED,RE,)
I am able to connect to the server and change to the initial directory with no problems. I am guessing that the issue is that when the ListDirectoryDetails function is called it is apparently expecting the results in a specific format and it is not written to handle the results from such an old system - VAX VMS server.
Can someone please assist - this problem has my project on hold...
There are other components out there that do work with VAX/VMS ftp such as:
http://www.chilkatsoft.com/ftp-2-dotnet.asp
I prefer to use Aspose component because I already have a subscription but if I have to purchase the above component to get the functionality I need then I will - too bad this feature does not appear to be supported by Aspose.
Also since you will probably ask me for source code - I am using the sample that comes when you install Aspose.... here is YOUR sample source code that does not work properly...
private string DemoFtpGetCurrentDirectory() {
if (DemoFtpConnected())
{
try
{
richTextBox1.AppendText("\nTrying to get server working directory...");
I have got a VAX VMS server for the debugging and implementation of the FTP now. But I need a few more time to fix it. How many days could I have according to your timeline? We will try the best to hit it.
I use the windows FTP demo and replaced the old Aspose.Network.dll with the new version from your post and I get the following exception:
"Failed to get file size :500 I never heard of the SIZE command. Try HELP."
Here is the trace information:
Trying to get server working directory...
Failed to get server working directory
Aspose.Network.Ftp.FtpException: Failed to get file size :500 I never heard of the SIZE command. Try HELP.
at Aspose.Network.Ftp.FtpClient.GetFileSize(String remoteFilePath)
at Aspose.Network.Ftp.Demo.Form1.DemoFtpGetCurrentDirectory() in C:\Program Files\Aspose\Aspose.Network\Samples\Ftp\FtpWindowsFormDemo\C#\Form1.cs:line 643
I think we need more time to fix it. Your ftp server cannot handle the common ftp commands. Do you have any idea to map the ftp command of the ftp server to the common ones?
I have added the list responses parser already. It works ok with the ftp ftp.process.com. But I cannot reproduce your problem on that ftp server. It looks they support the command ftp commands.
Could you give me pemission to your ftp server? Therefore, we can try to investigation and fast our development.
I think we need more time to fix it. Your ftp server cannot handle the common ftp commands. Do you have any idea to map the ftp command of the ftp server to the common ones?
What is mapping FTP commands to the common ones?
I want to test some components against my FTP server on my [REBex.it](http://www.rebex.it/) server.
Could you please try the evaluation version of [Aspose.Network for .NET ](http://www.aspose.com/community/files/51/.net-components/aspose.network-for-.net/default.aspx) on your FTP server? It should be able to connect and do all the functions, if the server supports the FTP protocol.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
Enables storage, such as cookies, related to analytics.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.