Forum

Notifications
Clear all

SFTP Fails

0 Posts
2 Users
0 Reactions
205 Views
(@HHCToMe)
Active Member
Joined: 9 years ago
Posts: 4
Topic starter  

I'm testing the software out for a SFTP application. It works fine for some sites.

One site will not allow us to upload files. We get a "Error: Setting remote file modify time failed. No such file. File not found."

I can create folders, rename existing files, delete files with no issue. Its uploading files that does not work.

WINSCP works fine for all aspects. Is there a setting missing?

Thanks


   
ReplyQuote
(@bpence)
Member Admin
Joined: 8 months ago
Posts: 1374
 

Which version are you using?

What kind of host is generating the error? (Linux?)

Brian


   
ReplyQuote
(@HHCToMe)
Active Member
Joined: 9 years ago
Posts: 4
Topic starter  

Host is running GlobalSCAPE. I believe this is a Windows based app


   
ReplyQuote
(@bpence)
Member Admin
Joined: 8 months ago
Posts: 1374
 

Does the file reach the destination? THis error appears to occur after the file transfer is complete.

Researching Globalscape.....

Brian


   
ReplyQuote
(@HHCToMe)
Active Member
Joined: 9 years ago
Posts: 4
Topic starter  

It does not appear to get there in the session.


   
ReplyQuote
(@bpence)
Member Admin
Joined: 8 months ago
Posts: 1374
 

Finally traced it down to a problem with SSH_FXP_FSETSTAT (setting stats, such as create/modify time on the target file after transfer). Globalscape server seems to reject it, though I'm not sure why. The website indicates it should be a supported command. OpenSSH handles it just fine.

I'm going to work around this by silently ignoring when the FSETSTAT fails. This at least allows the transfer to complete successfully.

Brian


   
ReplyQuote
(@HHCToMe)
Active Member
Joined: 9 years ago
Posts: 4
Topic starter  

Thanks for your continued effort on this.


   
ReplyQuote
(@bpence)
Member Admin
Joined: 8 months ago
Posts: 1374
 

I have an updated version for you to try:

<old link removed>

 

This version silently ignores the error at the end of the file transfer when trying to set the file date/time. Brian

This post was modified 2 months ago by bpence

   
ReplyQuote
Share: