Main Site Documentation

Save file to fileshare


#1

Hi Folks,

I am trying to save a file in a fileshare. Any idea on how can I do that?

I am using a FEZ Spider and a Ethernet J11D, trying to access a fileshare at my machine, it is currently without authentication.

Att,
Marcelo Delpino


#2

You will need to utilize the SMB protocol:

http://msdn.microsoft.com/en-us/library/windows/desktop/aa365233.aspx

I don’t think there is a NETMF implementation. We do have some FTP client code available though.


#3

Andre,
Yes I mean CIFS/SMB.
Is there any known implementation of it?

Architect,
Thanks, I’ll check if we can use FTP at the final product.


#4

@ DeLL - Here is the link for you (3 top results) in case you will end up going FTP round:

https://www.ghielectronics.com/community/codeshare/search?q=ftp


#5

@ DeLL - The closest anyone came to developing a CIFS/SMB client is discussed in the forum topic:

https://www.ghielectronics.com/community/forum/topic?id=10148


#6

My CIFS Client is generally working.
But only Plain-Text Autetification is supported so far (which was accepted by any Server I tried so far (Win 7, NAS, Samba 3.? on Linux)

I’ll see if I can upload it this weekend on Code share


#7

The FTP Server which Comes with the Framework is a bit Buggy and instable.
I made a copy of it and now it runs stable (I need it to run 24/7), accepts more ‘dialects’ and is less buggy.
I thin I also improoved Performance here an there.
Oh and it fully supports in Memory files (is way faster than SD if you have spare RAM and your files does not have to survive a reboot :wink:

I can post my modified FTP on code share I think.


#8

@ Reinhard Ostermeier - That would be great for both codeshares!


#9

Wow, that was fast :clap: