NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

Zero_G_'s avatar
Zero_G_
Aspirant
Mar 16, 2021
Solved

ReadyNas FTP User permission to file size

Hey

 

I am developing with .Net and try to get files from my FTP server.

I have created a user, which has read/write permissions (for testing purposes)

I also created a share and activated the FTP as protocol.

When I try to get a file via my .NET application, everything works as expected.

But, when I try to request the size of the file, then I get an FTP error, which tells me, that either the file isn't availabe or I don't have permissions to this file.

This seems to be related to the FTP server protocol on the ReadyNas.

Could you please give me advise, how it would be possible to set the special permission "SIZE" on to the files.

 

THX a lot in advance

  • This appears to be a fairly common problem when using .net to access unix/linux FTP servers (just based on googling).

     

    You might need to set the transfer type to binary before you query the size.

2 Replies

Replies have been turned off for this discussion
  • StephenB's avatar
    StephenB
    Guru - Experienced User

    This appears to be a fairly common problem when using .net to access unix/linux FTP servers (just based on googling).

     

    You might need to set the transfer type to binary before you query the size.

    • Zero_G_'s avatar
      Zero_G_
      Aspirant

      Hey

      THX for your answer, StephenB 

       

      It seems, that you are rigt. After downloading some 3rd party tool for testing, there it works fine.

      So it seems to be a bug in the .Net ecosystem.

       

      Have a nice day

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More