FluentFTP
FluentFTP copied to clipboard
Problem DownloadDirectory with SYST VOS
FTP OS: Stratus VOS
FTP Server: VSeries
Computer OS: Windows10
FluentFTP Version: last version
the remote folder seems to be duplicated 3 times
%fra_tpo#m1_d03>env>tms>pgm>log/%fra_tpo#m1_d03>env>tms>pgm>log/%fra_tpo#m1_d03>env>tms>pgm>log No such file or directory.
Logs :
[log_file_06-05-2021.txt](https://github.com/robinrodricks/FluentFTP/files/6433907/log_file_06-05-2021.txt)
Here is my code VB.net : (Connection and SetWorkingDirectory are OK)
Using ftpC As New FtpClient
ftpC.Host = My.Resources.S88FtpIP ftpC.Port = CInt(My.Resources.S88FtpPort) ftpC.Credentials = New NetworkCredential(My.Resources.S88FtpUser, My.Resources.S88FtpPwd) ftpC.Connect()
ftpC.SetWorkingDirectory(My.Resources.S88LogDirectory)
ftpC.DownloadDirectory(My.Resources.LocalLogDirectory, ftpC.GetWorkingDirectory)
End Using
The paths are not understood. What kind of wierd server is this?
%fra_tpo#m1_d03>env>tms>pgm>log
Hello,
This is a Stratus V Series ftServer 4400 System
For your information SetWorkingDirectory(%fra_tpo#m1_d03>env>tms>pgm>log) and GetListing(…) are OK
So I have managed a work around with those 2 functions
The problem is with DownloadDirectory(…)
Cordialement
Jérôme GUILLEMETTE
Can you please share the FluentFTP logs especially at the time of connecting to the server, so I can detect this server and then understand the path characters (> instead of /)
Here is the log file I have joined when I have opened the issue. Is it enough ?
# Connect()
Status: Connecting to ***:21
Response: 220 4612tpo FTP server (FTP 1.0 for Stratus STCP) ready. (Compatible with OS TCP/IP)
Command: USER ***
Response: 331 Password required for ftp_info.
Command: PASS ***
Response: 230 User ftp_info.SysAdmin logged in.
Command: FEAT
Response: 500 Command not understood.
Status: Text encoding: System.Text.ASCIIEncoding
Command: SYST
Response: 215 VOS
Warning: Cannot auto-detect listing parser for system 'Unknown', using Unix parser
# SetWorkingDirectory("%fra_tpo#m1_d03>env>tms>pgm>log")
Command: CWD %fra_tpo#m1_d03>env>tms>pgm>log
Response: 250 CWD command successful.
# GetWorkingDirectory()
Command: PWD
Response: 257 "%fra_tpo#m1_d03>env>tms>pgm>log" is current directory.
# DownloadDirectory("C:\S88CamcoReport\", "%fra_tpo#m1_d03>env>tms>pgm>log", Update, Skip, None, null)
# DirectoryExists("%fra_tpo#m1_d03>env>tms>pgm>log/")
# GetWorkingDirectory()
Command: PWD
Response: 257 "%fra_tpo#m1_d03>env>tms>pgm>log" is current directory.
Command: CWD %fra_tpo#m1_d03>env>tms>pgm>log
Response: 250 CWD command successful.
Command: CWD %fra_tpo#m1_d03>env>tms>pgm>log
Response: 250 CWD command successful.
# GetWorkingDirectory()
Command: PWD
Response: 257 "%fra_tpo#m1_d03>env>tms>pgm>log" is current directory.
# GetListing("%fra_tpo#m1_d03>env>tms>pgm>log/%fra_tpo#m1_d03>env>tms>pgm>log/", Size)
# GetWorkingDirectory()
Command: PWD
Response: 257 "%fra_tpo#m1_d03>env>tms>pgm>log" is current directory.
Command: TYPE I
Response: 200 Type set to I.
# OpenPassiveDataStream(AutoPassive, "LIST %fra_tpo#m1_d03>env>tms>pgm>log/%fra_tpo#m1_d03>env>tms>pgm>log/%fra_tpo#m1_d03>env>tms>pgm>log", 0)
Command: EPSV
Response: 229 Entering Extended Passive Mode (|||60004|)
Status: Connecting to ***:60004
Command: LIST %fra_tpo#m1_d03>env>tms>pgm>log/%fra_tpo#m1_d03>env>tms>pgm>log/%fra_tpo#m1_d03>env>tms>pgm>log
Response: 550 LIST: %fra_tpo#m1_d03>env>tms>pgm>log/%fra_tpo#m1_d03>env>tms>pgm>log/%fra_tpo#m1_d03>env>tms>pgm>log No such file or directory.
Status: Disposing FtpSocketStream...
# CloseDataStream()
# DownloadServerFiles("0 files")
# Dispose()
Status: Disposing FtpClient object...
Command: QUIT
Response: 221 Goodbye.
Status: Disposing FtpSocketStream...
Status: Disposing FtpSocketStream...
Cordialement
Jérôme GUILLEMETTE
Great, thanks. Sorry I missed the link in the code.
Perhaps someone can use the mechanism for custom parsers and other custom handlers to support Stratus VOS VSeries FTP server. The filepath/filename paradigms are strange, so therefore it needs someone who has experience on this system.
I have moved this to the Wiki: https://github.com/robinrodricks/FluentFTP/wiki/Future-Plans