Name |
Description |
DownloadFile (string RemoteFileName, string LocalPath) |
Download the file from the FTP server and save the file with the same name as the remote file. Parameter description: RemoteFileName: Remote File Name LocalPath: local path |
DownloadFile (string RemoteFileName, string LocalPath, string LocalFileName) |
Download the file from the FTP server and specify the local path and local file name. Parameter description: LocalPath: local path LocalFilePath: local path for saving the file, followed "\" LocalFileName: Save the local file name |
DownloadFile (string RemoteFileName) |
Download the file from the FTP server and return the binary data of the file. Parameter description: RemoteFileName: Remote File Name |
DownloadFileAsync (string RemoteFileName, string LocalPath, string LocalFileName) |
Download files asynchronously from the FTP server and specify the local path and local file name. Parameter description: RemoteFileName: Remote File Name LocalPath: local path for saving the file, followed "\" LocalFileName: Save the local file name |
DownloadFileAsync (string RemoteFileName, string LocalFullPath) |
Download files asynchronously from the FTP server and specify the local full path file name. Parameter description: RemoteFileName: Remote File Name LocalFullPath: Local full path file name |
UploadFile (string LocalFullPath) |
Upload files to the FTP server. Parameter description: LocalFullPath: local file name with full path |
UploadFile (string LocalFullPath, bool OverWriteRemoteFile) |
Upload files to the FTP server. Parameter description: LocalFullPath: local file with full path OverWriteRemoteFile: Indicates whether to overwrite files with the same name on the remote server. |
UploadFile (string LocalFullPath, string RemoteFileName) |
Upload files to the FTP server. Parameter description: LocalFullPath: local file with full path RemoteFileName: the file name to be saved on the FTP server |
UploadFile (string LocalFullPath, string RemoteFileName, bool OverWriteRemoteFile) |
Upload files to the FTP server. Parameter description: LocalFullPath: local file name with full path RemoteFileName: the file name to be saved on the FTP server OverWriteRemoteFile: Indicates whether to overwrite files with the same name on the remote server. |
UploadFile (byte [] FileBytes, string RemoteFileName) |
Upload files to the FTP server. Parameter description: FileBytes: uploaded binary data RemoteFileName: the file name to be saved on the FTP server |
UploadFile (byte [] FileBytes, string RemoteFileName, bool OverWriteRemoteFile) |
Upload files to the FTP server. Parameter description: FileBytes: Binary File Content RemoteFileName: the file name to be saved on the FTP server OverWriteRemoteFile: Indicates whether to overwrite files with the same name on the remote server. |
UploadFileAsync (string LocalFullPath) |
Upload files to the FTP server asynchronously. Parameter description: LocalFullPath: local file name with full path |
UploadFileAsync (string LocalFullPath, bool OverWriteRemoteFile) |
Upload files to the FTP server asynchronously. Parameter description: LocalFullPath: local file with full path OverWriteRemoteFile: Indicates whether to overwrite files with the same name on the remote server. |
UploadFileAsync (string LocalFullPath, string RemoteFileName) |
Upload files to the FTP server asynchronously. Parameter description: LocalFullPath: local file with full path RemoteFileName: the file name to be saved on the FTP server |
UploadFileAsync (string LocalFullPath, string RemoteFileName, bool OverWriteRemoteFile) |
Upload files to the FTP server asynchronously. Parameter description: LocalFullPath: local file name with full path RemoteFileName: the file name to be saved on the FTP server OverWriteRemoteFile: Indicates whether to overwrite files with the same name on the remote server. |
UploadFileAsync (byte [] FileBytes, string RemoteFileName) |
Upload files to the FTP server asynchronously. Parameter description: FileBytes: uploaded binary data RemoteFileName: the file name to be saved on the FTP server |
UploadFileAsync (byte [] FileBytes, string RemoteFileName, bool OverWriteRemoteFile) |
Upload files to the FTP server asynchronously. Parameter description: FileBytes: Binary File Content RemoteFileName: the file name to be saved on the FTP server OverWriteRemoteFile: Indicates whether to overwrite files with the same name on the remote server. |
ListFilesAndDirectories () |
List all files and directories in the current directory on the FTP server. |
ListFiles () |
List all files in the current directory on the FTP server. |
ListDirectories () |
List all directories in the current directory on the FTP server. |
DirectoryExist (string RemoteDirectoryName) |
Determines whether the specified subdirectory in the current directory exists. Parameter description: RemoteDirectoryName: Specifies the directory name. |
FileExist (string RemoteFileName) |
Determine whether a remote file exists in the current directory of the server. Parameter description: RemoteFileName: Remote File Name |
DeleteFile (string RemoteFileName) |
Delete a file from the FTP server. Parameter description: RemoteFileName: Remote File Name |
ReName (string RemoteFileName, string NewFileName) |
Change the name of a file or directory. Parameter description: RemoteFileName: name of the original file or directory NewFileName: name of the new file or directory |
CopyFileToAnotherDirectory (string RemoteFile, string DirectoryName) |
Copy a file under the current directory to another directory on the server. Note that after the file is copied, the current working directory is still the original directory of the file. Parameter description: RemoteFile: file name in the current directory DirectoryName: name of the new directory. Note: If the new directory is a subdirectory of the current directory, specify the subdirectory directly. Example: SubDirectory1/SubDirectory2; If the new directory is not a subdirectory of the current directory, it must be specified at the root directory level. For example:./NewDirectory/SubDirectory1/SubDirectory2 |
MoveFileToAnotherDirectory (string RemoteFile, string DirectoryName) |
Move a file under the current directory to another directory on the server. Note that after moving the file, the current working directory is still the original directory of the file. Parameter description: RemoteFile: file name in the current directory DirectoryName: name of the new directory. Note: If the new directory is a subdirectory of the current directory, specify the subdirectory directly. Example: SubDirectory1/SubDirectory2; If the new directory is not a subdirectory of the current directory, it must be specified at the root directory level. For example:./NewDirectory/SubDirectory1/SubDirectory2 |
MakeDirectory (string DirectoryName) |
Create a sub-directory in the current working directory on the FTP server. Parameter description: DirectoryName: subdirectory name |
RemoveDirectory (string DirectoryName) |
Delete a sub-directory from the current working directory. Parameter description: DirectoryName: subdirectory name |
IsValidPathChars (string DirectoryName) |
Determines whether the characters in the directory name are valid. Parameter description: DirectoryName: Directory Name |
IsValidFileChars (string FileName) |
Determines whether the characters in the file name are valid. Parameter description: FileName: File Name |
GotoDirectory (string DirectoryName) |
Enter a directory. Parameter description: DirectoryName: The name of the new directory. Note: If the new directory is a subdirectory of the current directory, specify the subdirectory directly. Example: SubDirectory1/SubDirectory2; If the new directory is not a subdirectory of the current directory, it must be specified at the root directory level. For example:./NewDirectory/SubDirectory1/SubDirectory2 |
EnterOneSubDirectory (string DirectoryName) |
Enter a sub-directory from the current working directory. Parameter description: DirectoryName: subdirectory name |
ComeoutDirectory () |
From the current working directory to the upper-level directory. |
|
|