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

doug

Posts

9

Joined

Wed Feb 17, 2010 4:46 am

Additional characters in file name returned by GetFileInfos

by doug » Tue Sep 10, 2013 3:15 am

Using edtFTPnetPRO.dll version 7.3.1.20 and connecting to an ftp server running on a NetGear ReadyDATA device (running Solaris) we are seeing incorrect file names returned by GetFileInfos. The file names all begin with two digits and a space followed by the correct file name. Has anyone seen this before and found the cause?
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: Additional characters in file name returned by GetFileIn

by support2 » Tue Sep 10, 2013 8:48 am

It could be a parsing error. Email the Debug log file to support and we'll take a look.

Does GetFiles return the correct names?
no avatar
User

doug

Posts

9

Joined

Wed Feb 17, 2010 4:46 am

by doug » Tue Sep 10, 2013 9:08 am

When I look at the Name field of the returned FTPFile object it has a date combined with the name. My processing was removing most of the date and only leaving the last 2 characters. Any idea why the date is included in the name?
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

by support2 » Tue Sep 10, 2013 9:11 am

There's no standard for what the server returns, so it is up to the client to try to interpret it. If you send us the log file we can probably figure out how to parse it correctly.

Who is online

Users browsing this forum: No registered users and 29 guests

Powered by phpBB ® | phpBB3 Style by KomiDesign
cron