| Product: Distinct VIT | Topic: FTP Client and Server | Last updated: 3/20/2008 |
| |
| Q.: Can I adjust the connection timeout value and the connection and data buffer sizes? |
A.: Yes all of these are done through a registry entry so that the end user of your application may adjust these too if necessary.
The parameters used to control the behavior of the Distinct FTP-32 library are stored under the following registry path.
HKEY_LOCAL_MACHINE\SOFTWARE\Distinct\DLLS\FTP32
Timeout REG_DWORD number of seconds
Specifies the default timeout in seconds used for the FTP connection. This is the timeout value used for various network operations. The default value is 20 seconds. If you are using a serial connection you may want to increase this to 40.
BufferSize REG_DWORD number of bytes
Specifies the default buffer size in bytes used for data transfer. The default value is 32768 bytes and the permitted range is from 1024 to 32768 bytes.
CtrlBuffer REG_DWORD number of bytes
Specifies the default buffer size in bytes used for the control connection. The default value is 1024 bytes and the permitted range is 128 to 4096 bytes.
|
| |
Do you find this information useful ? Yes No Not Sure |
|
| Product: Distinct VIT | Topic: FTP Client and Server | Last updated: 3/20/2008 |
| |
| Q.: Can I initiate more than one concurrent file transfer? |
| A.: Yes, the Distinct FTP DLL is multithreaded and the ActiveX control is apartment threaded making it possible to do this. We supply sample code for Visual Basic 6 and C++ for this. |
| |
Do you find this information useful ? Yes No Not Sure |
|
| Product: Distinct VIT | Topic: FTP Client and Server | Last updated: 3/20/2008 |
| |
| Q.: Can I make an FTP connection to an AS400? |
A.: Yes our FTP client component has a property called HostType and this should be set to AS400.
|
| |
Do you find this information useful ? Yes No Not Sure |
|
| Product: Distinct VIT | Topic: FTP Client and Server | Last updated: 3/20/2008 |
| |
| Q.: Can I move an entire subtree of files using your FTP control? |
| A.: Yes you can do this using the PutMultipleFile method. This function transfers multiple files from the local machine to the remote host. The function can transfer specific files or entire directories. If the recursive flag is set to TRUE then the files will be transferred recursively. |
| |
Do you find this information useful ? Yes No Not Sure |
|
| Product: Distinct VIT | Topic: FTP Client and Server | Last updated: 3/20/2008 |
| |
| Q.: Can I write an FTP client that only allows users to download files without allowing them to upload files. |
A.: Yes, you can write a client that only allows GET - However, the restriction is valid only when this FTP client is used. That is, if the user used a differnet FTP application and tries to PUT a file - it would work unless you restrict it from the server end.
|
| |
Do you find this information useful ? Yes No Not Sure |
|
| Product: Distinct VIT | Topic: FTP Client and Server | Last updated: 3/20/2008 |
| |
| Q.: Does the Distinct FTP client component support Passive mode? |
| A.: Yes the Distinct FTP Client component supports Passive mode. |
| |
Do you find this information useful ? Yes No Not Sure |
|
| Product: Distinct VIT | Topic: FTP Client and Server | Last updated: 3/20/2008 |
| |
| Q.: Does the Distinct FTP Client have firewall proxy support? |
| A.: Yes the FTP client component includes SOCKS4, SOCKS5 and FTP proxy support to enable its use across Intranet firewalls. |
| |
Do you find this information useful ? Yes No Not Sure |
|
| Product: Distinct VIT | Topic: FTP Client and Server | Last updated: 3/20/2008 |
| |
| Q.: Does your FTP Client component support the capability to recover from a failed transfer without having to start the transfer again? |
| A.: Yes both the Distinct FTP DLL and the Distinct FTP ActiveX components support the Resume feature. |
| |
Do you find this information useful ? Yes No Not Sure |
|
| Product: Distinct VIT | Topic: FTP Client and Server | Last updated: 3/20/2008 |
| |
| Q.: How can I retrieve the detailed contents of the directory on the UNIX host, specifically file names, sizes and dates? |
| A.: You can use the Parse() method to extract the contents of a long listing. The Parse method will interpret a line from a long listing (ListType property)and extract the file name, file size, time/data information and also notify if the file was a directory. |
| |
Do you find this information useful ? Yes No Not Sure |
|
| Product: Distinct VIT | Topic: FTP Client and Server | Last updated: 3/20/2008 |
| |
| Q.: Is it possible to connect the FTP Client ActiveX through a firewall? |
A.: Yes. The following combination will work on Proxy servers to get to an FTP site. This example does not have provisions for supplying the Firewall's password. Contact support if you need to do this with password.
Hostname:
F<irewall's IP address or hostname>
Username:
u<sername which is provided for the FTP server>
@
F<TP server's IP address or hostname>
Password:
p<assword for FTP server>
|
| |
Do you find this information useful ? Yes No Not Sure |
|