pouët.net

Writing files to network shared folders

category: code [glöplog]
 
Does anybody know how I can write files to network shared folders in C#? The solutions presented at https://stackoverflow.com/questions/3700871/connect-to-network-drive-with-user-name-and-password?fbclid=IwAR2No8GMOZGQ-E3wI1fA8J0YcSzbLB1e_5vmqbiuVe-cEQ6jNbAZyld1_zQ did not work for me.
added on the 2020-12-27 14:38:53 by Adok Adok
google for C# and SMB/SAMBA and you might suggestions that actually work
Given your high IQ, I'm sure you can figure out a clever trick and enlighten us low brains
added on the 2020-12-27 16:02:52 by v3nom v3nom
Adok has a high IQ ?
added on the 2020-12-27 18:50:49 by w00t! w00t!
Knowing the answer to the question or not is not a matter of IQ.
added on the 2020-12-28 10:53:34 by Adok Adok
Just in case anybody is interested, the solution at https://stackoverflow.com/questions/295538/how-to-provide-user-name-and-password-when-connecting-to-a-network-share/1197430#1197430 (the class NetworkConnection) works for me.
added on the 2021-01-07 15:25:14 by Adok Adok
BB Image
added on the 2021-01-13 18:43:48 by w00t! w00t!

login