FTP server is working just fine, however when uploading files the server's return code is "Transfer Complete" whereas other FTP servers return "Transfer Complete. xxx bytes transferred." Which we need for an automated process as a verification that all information has been transferred.
Is there a setting that needs to be adjusted to get this extended return code?
Any and all help is greatly appreciated
Return codes not explicit
-
- Posts: 4
- Joined: Mon Aug 19, 2013 2:06 pm
Received message from client accessing the site. Here is what they said.
"When transferring a CSV file, a ftps server will usually return to us something like "Transfer complete. 266 bytes transferred." Your ftps server however, only returns "Transfer Complete", without any indication of how many bytes were sent."
This is an automated process from the client side and they use the return code where in the example above it says 266 bytes transferred as the check to verify that the transfer was completed successfully. In some cases with other ftps sites, they receive the Transfer complete. O bytes transferred indicating an issue. So we need to get the number of bytes transferred to be reflected when the system responds back to the client.
The client is using a Java API and is expecting:
Response: 226 Transfer complete. 166 bytes transferred. 166 bps.
"When transferring a CSV file, a ftps server will usually return to us something like "Transfer complete. 266 bytes transferred." Your ftps server however, only returns "Transfer Complete", without any indication of how many bytes were sent."
This is an automated process from the client side and they use the return code where in the example above it says 266 bytes transferred as the check to verify that the transfer was completed successfully. In some cases with other ftps sites, they receive the Transfer complete. O bytes transferred indicating an issue. So we need to get the number of bytes transferred to be reflected when the system responds back to the client.
The client is using a Java API and is expecting:
Response: 226 Transfer complete. 166 bytes transferred. 166 bps.
-
- Site Admin
- Posts: 1006
- Joined: Mon Mar 24, 2003 4:37 am
-
- Posts: 4
- Joined: Mon Aug 19, 2013 2:06 pm
[quote="ForumAdmin"]Do you happen to know if the bps is required by the API?
An option can be added to put in the bytes transferred but the bps seems moderately unncessary, since the client is able to calculate it based on the bytes.[/quote]
The bps is not necessary. All that is required is the bytes transferred as a verification that the entire file was transferred and received correctly.
An option can be added to put in the bytes transferred but the bps seems moderately unncessary, since the client is able to calculate it based on the bytes.[/quote]
The bps is not necessary. All that is required is the bytes transferred as a verification that the entire file was transferred and received correctly.
-
- Site Admin
- Posts: 1006
- Joined: Mon Mar 24, 2003 4:37 am
-
- Posts: 4
- Joined: Mon Aug 19, 2013 2:06 pm