I am writing an application to transfer files over the network. I hit a
roadblock when my application runs on Linux (under mono and normal user) 
I try to access a file on the network (present on a windows file share) I
keep getting a FileNotFoundException coz the shared path
"\\<hostname>\dir\file" get pre pended with the path from where the
application is running.
I tried using an alternative, libsmbclient functions which basically appends
smb://<hostname>/<dir>/<file>. This works perfect when the remote machine is
linux, but craps out when the remote machine is windows. 
Could someone please suggest an approach, where I could programatically copy
a file on Windows share from a Linux box.

Thanks in advance!



--
View this message in context: 
http://mono.1490590.n4.nabble.com/Access-Windows-share-as-my-C-application-runs-on-Linux-under-mono-tp4661665.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to