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?
hope helps
Comments
Post a Comment