Posts Tagged ‘file’

Read typed file – pascal

Wednesday, 7 May, 2008 1 comment

File structure in C++

typedef struct TAGRECORD
char DeviceName[50]; // Имяприбора
char TagName[10]; // Имяпараметра
char TagValue[50]; // Значение
time_t TagTime; // Время записи
int TagChannel; // Канал
int TagInfo; // 0 - info, 1 - control

Read it with Pascal?

Solution >>>
Read more…

Categories: Delphi, Pascal Tags: , ,

Large file uploads in ASP.NET

Monday, 28 April, 2008 4 comments

Large file uploads in ASP.NET

Uploading files via the FileUpload control gets tricky with big files. The default maximum filesize is 4MB – this is done to prevent denial of service attacks in which an attacker submitted one or more huge files which overwhelmed server resources. If a user uploads a file larger than 4MB, they’ll get an error message: “Maximum request length exceeded.”

Read more…

Categories: ASP.NET 2.0 Tags: , ,