Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
J

JABIR E

@JABIR E
About
Posts
4
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • FTP IN C#
    J JABIR E

    iam devoloping both ftp server and client in c# (windows application) i have two doubts 1. in ftp client when set sslenable=true for security then server receive "AUTH" command server returns "226 authenticated" then server recieve some encoded character. my qustion is what is that chracter and which code returns by server 2.when uploading a file asynchronously server receive "OPTS" command which code returns for this by server please help me with advance thanks

    C# csharp sysadmin security help question

  • Problem while uploading file on FTP server
    J JABIR E

    for getting full data without error use binary reader for uploading like this //FtpWebReq.Credentials = new NetworkCredential(userId, Password); // FtpWebReq.Method = WebRequestMethods.Ftp.UploadFile; //FtpWebReq.KeepAlive = false; // FtpWebReq.UseBinary = true; //FtpWebReq.ContentLength = FINFO.Length; FileStream fsSource = new FileStream(fileName, FileMode.Open, FileAccess.Read); BinaryReader binReader = new BinaryReader(fsSource); Stream strm=null; byte[] byteRead; binReader.BaseStream.Seek(0, SeekOrigin.Begin); long pos = 0, fLen = 0; int buffLength = 2048; int readSize = buffLength; fLen = FINFO.Length; try { strm = FtpWebReq.GetRequestStream(); while (binReader.BaseStream.Position < fLen) { pos = binReader.BaseStream.Position; if (fLen - pos < buffLength) readSize = (int)(fLen - pos); byteRead = binReader.ReadBytes(readSize); strm.Write(byteRead, 0, readSize); } binReader.Close(); strm.Close(); fsSource.Close(); }

    C# question csharp sysadmin help

  • FTP
    J JABIR E

    WHEN WE SET FTPWEBREQUEST.SSLENABLE=TRUE FROM CLIENT THEN SERVER RECEIVE "AUTH TLS" THEN SERVER SEND 234 ,AFTER THIS SERVER RECEIVES SOME DATA MY QUSTIONS IS WHAT IS THAT DATA WHAT COMMAND IS REPLY FOR THAT FROM SERVER? WHAT IS THE NEXT PROCESS

    C# question sysadmin security

  • size of memorystream.toarray()
    J JABIR E

    Bitmap BMP = new Bitmap(60, 32); Graphics g; g = Graphics.FromImage(BMP); g.DrawString("abcdef", font, Brushes.Red, new PointF()); MemoryStream mem = new MemoryStream(); BMP.Save(mem,ImageFormat.Bmp); Byte[] B = mem.ToArray(); size of B should be 60*32/8 but i got the size is 7734 can i get exact size pls

    C# graphics
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups