blah blah blah is here! blah blah » Close

0
votes
1 answers

Checking a filesize limit?

I want to make sure when a user selects a file, that it does not exceed 10 meg. I have: int _maxFileSize = 10240; OpenFileDialog dlg = new OpenFileDialog(); if ((bool)dlg.ShowDialog()) { if (dlg.File.Length > _maxFileSi ...

0
votes
1 answers

FTP Remote path and get file properties in C#

Any one please guide me to get remote file properties from ftp server,i can access the directory and files name via "ftp://servername/directoryname" through web request class and through ftp.list directory method.but to get the fi ...

Feedback