| Dart Home | PowerTCP FTP for .NET | Custom Development | Reply | PowerTCP FTP for .NET Topics | Forums |
| Author | Forum: PowerTCP FTP for .NET Topic: Get command with MVS FTP Servers |
| sathya76 From: Lubbock, TX USA Posts: 13 Member Since: 06/24/02 |
posted June 24, 2002 12:14 AM I am using the .NET version of dart FTP control in developing a ASP.NET application. I am trying to get a JCL file from the MVS FTP server using the following command : FtpSess.Get("AIS95.SISPROD.CNTL(FJR054)", "c:\reports\tempJCL.trd") The following is the error, that I receive Dart.PowerTCP.ProtocolException: FTP Request: RETR AIS95.SISPROD.CNTL(FJR054) FTP Response: 550 Data set A2SYR.AIS95.SISPROD.CNTL(FJR054) not found at z.b(Delegate A_0, Object[] A_1) at Dart.PowerTCP.Ftp.Get(String remoteFileName, String localFileName) at WebApplication5.WebForm2.GetFile(String remFile, String locFile, FTPType fType) in c:\inetpub\wwwroot\WebApplication5\getParms.aspx.vb:line 166 ------------------------------------------------- But when I tried the retrieve command in VB application using Dart FTP Active X tool, it just works fine. Please let me know, if i am doing anything wrong here.. I downloaded the .NET version last week. Thanks Sathya |
| sathya76 From: Lubbock, TX USA Posts: 13 Member Since: 06/24/02 |
posted June 24, 2002 9:33 AM Contd.. with the problem In the above problem, the following is the Reply from the FTP Server, when I am using VB6 and Dart FTP Active X tool. When the retreive command is called, through the FTP_Progress function of Dart FTP I get the following reply from the FTP Server 501 Command Aborted - FTP Server not configured for size 227 Entering passive mode(129.118.152,1,9,235) 125 Sending dataset AIS95.PROD.CNTL(FJR054) FXRecfm 80 "" 250 Transfer Completed Successfully. As I said, this works fine, while the GET command in the .NET version doesn't work here. I am not sure whether it is due to the first reply that FTP Server is not configured for size, that it doesnt work in .NET. Pls Let me know, how can i get away with this problem. Thank you Sathya |
| sathya76 From: Lubbock, TX USA Posts: 13 Member Since: 06/24/02 |
posted June 24, 2002 9:45 AM Thanks for anyone.. who had seen this problem.. I think I got through this, I was working in a different directory in the FTP server, in .NET.. so thats the problem.. thank you.. again Sathya |
| Reply | PowerTCP FTP for .NET Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|