c# - Absolute path information is required error -


here code:

ftpconnection ftp = new ftpconnection(configurationmanager.appsettings["server"], configurationmanager.appsettings["user"], configurationmanager.appsettings["password"]); ftp.open(); ftp.login(); ftpfileinfo[] files = null; if (ftp.directoryexists(some_name)) {     ftp.setcurrentdirectory(some_name);     files = ftp.getfiles("*.xlsx");     string filename = files[0].name; } return; 

everything works well. filename variable has correct name. error code 500 though nothing crashed. error says: absolute path information required.

what mean? how fix it?

when debugged noticed when expand properties of files, there 1 property exists, has exact same error.

see below link(s)

although not exact same issue - should point in right direction?

link1

link2

hope helps


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -