You are here: GdPicture.NET > Documentation > Classes > GdViewer Class > GdViewer Methods > Loading Documents (Image, PDF & Metafile) > DisplayFromFTP Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdViewer.DisplayFromFTP Method

Displays a document from a file stored in a distant server using FTP.

C#
public GdPictureStatus DisplayFromFTP(
    String Host, 
    String Path, 
    String Login, 
    String Password, 
    int FTPPort
);
Visual Basic
Public Function DisplayFromFTP(
    ByVal Host As String, 
    ByVal Path As String, 
    ByVal Login As String, 
    ByVal Password As String, 
    ByVal FTPPort As Integer
) As GdPictureStatus
Parameters
Parameters 
Description 
Host 
The host server IE: ftp.gdicture.com  
Path 
The image file path into the distant server IE: /images/nature.jpg  
Login 
User Login.  
Password 
User Password.  
FTPPort 
The FTP port number used. Usually 21.  
Returns

A member of the GdPictureStatus enumeration.

Supported formats are PDF, RAW, PICT, PDF, BMP, DIB, RLE, ICO, EMF, WMF, GIF, ANIMATED GIF, JPEG, JPG, JPE, JFIF, PNG, TIFF, MULTIPAGE TIFF, PNM, PPM, PBM, PGM, PFM, RPPM, RPGM, RPBM, PCX, XPM, XBM, WBMP, TGA, SGI, Sun RAS, PSD, MNG, Kodak PhotoCD files, KOALA files, JP2, J2K, JNG, JBIG, IFF, HDR, Raw Fax G3, EXR, DDS and Dr. Halo files.

What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.