You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > Standalone Functions > UploadFileToFTP Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.UploadFileToFTP Method

Uploads a file to a distant FTP server.

C#
public GdPictureStatus UploadFileToFTP(
    String FilePath, 
    String Host, 
    String Path, 
    String Login, 
    String Password, 
    int FTPPort
);
Visual Basic
Public Function UploadFileToFTP(
    ByVal FilePath As String, 
    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 
FilePath 
The path of the file to upload into the distant ftp server.  
Host 
The host server ie: ftp.com  
Path 
The image file path to create 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.

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