Home > Net >  The.net core access remote directory with the user name password
The.net core access remote directory with the user name password

Time:02-25

To do a similar script program, need to access the remote directory, programs run on Linux server,
Is there a solution; Or give a nuget package name, my own research, thank you

CodePudding user response:

User name password with remote directory? What the agreement? The FTP? HTTP? Or what?

CodePudding user response:

Read can directly use the
 
//remothPath remote sharing path
DirectoryInfo di_All=new DirectoryInfo (remothPath);


Can use first WIN + R input remote sharing path, access to the words you can use the above method
  •  Tags:  
  • C#
  • Related