User Profile

Collapse

Profile Sidebar

Collapse
Jeywin Lizy
Jeywin Lizy
Last Activity: Dec 18 '08, 06:24 AM
Joined: Dec 5 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • FileUpload in PDA -workaround

    Thanks for your replies. After trying regarding FileUpload control I thought the work around to upload file in PDA will be like reading the files the user selects and saving it in database
    But this gives message as I have said in my prev post
    'System.IO.Dire ctoryNotFoundEx ception:could not find a part of the path'
    (but works fine in PC).Please let me know how I can trap this error...
    See more | Go to post

    Leave a comment:


  • I have tried using <asp:FileUpload ... and <input type=file ...
    But this works only in IE.
    The PDA with IE Mobile version 5.0 does not support this.
    I am able upload only XML or zip file. Otherwise
    the HTTPFileCollect ion does not contain any file after browsing & selecting files
    and it throws an error when trying to retrieve from PostedFile.


    I debuggeg and found
    Request.Browser .Capabilities["supportsFileUp load"]...
    See more | Go to post

    Leave a comment:


  • Hi Plater
    Please let me know how then to access the files (read file content) in PDA.
    I have removed the FileInfo.The code below


    //returns the stream of the filefor which path passed
    Stream a = ReadStream(txtF ilePath.Text);
    Label1.Text = a.Length.ToStri ng();

    works fine in my system.
    But it throws an error if the application is accessed via PDA(with...
    See more | Go to post

    Leave a comment:


  • Jeywin Lizy
    started a topic File Access Denied in PDA(IE Mobile Ver. 5)
    in .NET

    File Access Denied in PDA(IE Mobile Ver. 5)

    My web application need to get file size and file contents of the file the user will be selecting.

    It was throwing error on
    FileInfo fileInfo = new FileInfo(pathSo urce);
    return fileInfo.Length .ToString();

    I thought it was due to CAS
    and so included
    assembly:Permis sionSetAttribut e(SecurityActio n.RequestMinimu m, Name = "FullTrust" )]

    It started working...
    See more | Go to post
No activity results to display
Show More
Working...