Discuss (FTP), (FTP on .NET CF) and (FTPS, SFTP and SCP).
no avatar
User

billroberts

Posts

47

Joined

Tue Sep 28, 2004 8:04 am

Failure on grabbing directory list when no files are present

by billroberts » Fri Oct 15, 2004 5:47 am

no avatar
User

billroberts

Posts

47

Joined

Tue Sep 28, 2004 8:04 am

by billroberts » Fri Oct 15, 2004 6:12 am

no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: Failure on grabbing directory list when no files are pre

by support2 » Fri Oct 15, 2004 6:42 am

no avatar
User

billroberts

Posts

47

Joined

Tue Sep 28, 2004 8:04 am

by billroberts » Fri Oct 15, 2004 6:47 am

Parameter: FTPWeather
--------------------
Transpose: Opening Log
User Domain: NA, User ID: WTROBE1
Retrieving FTP parameters from database for alias: FTPWEATHER
Creating instance of 'FTPWEATHER' worker class
220 FTP Server ready.
Attempting login with ID 'cuexxon'
Login Successful
Forcing 'PASV' for all transports
Executing FTP job
Forcing transport to 'ACTIVE' mode (for FIREWALL access)
Server Environment: ''
---> PORT 192,168,133,145,16,150
200 PORT command successful
---> NLST
450 No files found
EnterpriseDT.Net.Ftp.FTPException: No files found
at EnterpriseDT.Net.Ftp.FTPControlSocket.ValidateReply(String reply, String[] expectedReplyCodes)
at EnterpriseDT.Net.Ftp.FTPClient.Dir(String dirname, Boolean full)
at EnterpriseDT.Net.Ftp.FTPClient.Dir()
at SecureFTP.FTPWeather.Execute() in C:\DWConnect\SecureFTP\WorkerClasses\FTPWeather.vb:line 24
EnterpriseDT.Net.Ftp.FTPException: No files found
at SecureFTP.FTPWeather.Execute() in C:\DWConnect\SecureFTP\WorkerClasses\FTPWeather.vb:line 53
at SecureFTP.FTPManager.ExecuteFTP() in C:\DWConnect\SecureFTP\FTPManager.vb:line 40
Transpose: Job Status-1
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

by support2 » Fri Oct 15, 2004 7:02 am

no avatar
User

billroberts

Posts

47

Joined

Tue Sep 28, 2004 8:04 am

by billroberts » Fri Oct 15, 2004 7:17 am

no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

by support2 » Fri Oct 15, 2004 8:13 am

no avatar
User

billroberts

Posts

47

Joined

Tue Sep 28, 2004 8:04 am

by billroberts » Fri Oct 15, 2004 8:36 am

That didn't work.

Seems we also need to do the following as I suppose 450 is a valid response:
string[] validCodes1 = new string[]{"125", "150", "450", "550"};
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

by support2 » Fri Oct 15, 2004 5:31 pm


Who is online

Users browsing this forum: No registered users and 42 guests

Powered by phpBB ® | phpBB3 Style by KomiDesign
cron