Author Topic: FTP_UTFAT problem ,Directory Creation wrong  (Read 10244 times)

Offline benoit

  • Newbie
  • *
  • Posts: 8
    • View Profile
FTP_UTFAT problem ,Directory Creation wrong
« on: August 08, 2011, 08:20:22 AM »
Hi Mark,

I use SD card with FTP_UTFAT and I have a problem.

when I am connected to the FTP, directories are created automatically.

These directories have names with symbols and can not be deleted. only a formatting of the SD card can be removed it.

I feel that we wrote in the FAT SD card.

do you have another hypothesis? or, if we write well in the FAT, where and when can this happen?

thank you

Offline mark

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3236
    • View Profile
    • uTasker
Re: FTP_UTFAT problem ,Directory Creation wrong
« Reply #1 on: August 08, 2011, 10:27:54 PM »
Hi Benoit

I haven't seen this effect but, when it occurs, could you put the SD card in a PC and see whether they are really there?

Also, please show me a DOS like file listing of what is being displayed.

I don't think that FTP connection itself can cause files to be created (watching the FTP session with Wireshark would confirm that nothing at the FTP client is causing this) but I can't exclude that the FTP directory listing couldn't display something unexpected in certain cases (files that maybe are not really there).

Regards

Mark

Offline benoit

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: FTP_UTFAT problem ,Directory Creation wrong
« Reply #2 on: August 11, 2011, 02:24:01 PM »
Hi Mark,

Thank's for response.

directories are present on the SD card when I put the SD card into a PC.

I did some tests to better target when this happens.

I use filezilla, if I connect and I download files all goes well, no directory creation.

but if I connect and wait a little time, Filezilla says
"Error: Disconnected from server: ECONNABORTED - Connection aborted"
After that, if I download file, it downloads fine but create one of the famous directory.

Thank

Offline mark

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3236
    • View Profile
    • uTasker
Re: FTP_UTFAT problem ,Directory Creation wrong
« Reply #3 on: August 11, 2011, 02:27:15 PM »
Benoit

Can you send a Wireshark recording? If it is the FTP client creating something this must be visible.
I assume that using DOS FTP doesn't cause such problems ( ? )

Regards

Mark

Offline mark

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3236
    • View Profile
    • uTasker
Re: FTP_UTFAT problem ,Directory Creation wrong
« Reply #4 on: August 24, 2011, 03:41:28 PM »
Hi Benoit

I have just updated the utFAT module - V1.10 to hopefully solve this problem - http://www.utasker.com/forum/index.php?topic=1667.0
See the description here: http://www.utasker.com/forum/index.php?topic=1668.0

Regards

Mark

Offline benoit

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: FTP_UTFAT problem ,Directory Creation wrong
« Reply #5 on: August 25, 2011, 09:54:42 AM »
Hi Mark,

Thank you for the answers. it works very well with utFAT 1.10. no directory is created.

For personal information, why and when uTasker want to create directories with an empty name?

thank you again

Offline mark

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3236
    • View Profile
    • uTasker
Re: FTP_UTFAT problem ,Directory Creation wrong
« Reply #6 on: August 25, 2011, 12:25:51 PM »
Hi Benoit

I don't think that there is a need to create directories with empty names (I don't know why the FTP client that you tested tried to do this?).

It is (was) not possible to create a directory like this via the command line interface, so the change was to ensure that also such an attempt via FTP was rejected.

Regards

Mark

Offline benoit

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: FTP_UTFAT problem ,Directory Creation wrong
« Reply #7 on: August 29, 2011, 08:10:48 AM »
hi mark

the main thing is that it works now.

thank