Move files from Windows-Local to FTP not working

English Support for Syncovery on Windows.
Post Reply
arif1490
Posts: 9
Joined: Wed Nov 16, 2022 5:00 pm

Move files from Windows-Local to FTP not working

Post by arif1490 »

Hello community,

I am trying to move a file from local windows directory(where Syncovery is installed) to FTP server.

Left: Local windows folder
Right: FTP server

I have been doing it the same way with other profiles but somehow it is not working with this one profile.

It shows the status as copied and deleted but I cannot find the file in the FTP destination.

Attaching the logs here.

Code: Select all

Syncovery v8.69f, build 399 (64-bit)

Profile Settings From C:\ProgramData\Syncovery\Syncovery.ini

[General]
Name=Local to Qradar-sftp
LastModified=11/17/2022 08:08:38
LeftPath=C:\ProgramData\Interfaces\FI\Qradar\outbound\stage
RightPath=sftp://xxx.yyy.zzz/srv/ftp/xxxxxxscript/yyy/ddd/logs
LeftToRight=Yes
MoveFilesMode=mmOverwriteDest
MoveByCopying=Yes

[Files->Deletions]
RecycleDeletedFiles=No

[Internet]
RightFTPSettings=SFTP:Port=22,AbsolutePath=N,Flags=UTF8+ReplaceChars+UTC+DetectTimezone+ReplaceAutomatic,"Proxy=no",TimZoneOfs=0/0,"Cert=none",SSHAuth=[pass],RecursLst=N
AdvancedSSHSettings=9/YY/8454664191/1048575/137438953471/524287/8192/32768/131072/32/SFTP01234

[Waiting & Retrying]
InfiniteReruns=Yes


Could you please look at the logs and tell what am I missing here?

tobias
Posts: 1639
Joined: Tue Mar 31, 2020 7:37 pm

Re: Move files from Windows-Local to FTP not working

Post by tobias »

Hello,
maybe the problem is relative versus absolute path on the SFTP side.

To be entirely sure you have the correct folder, please click on the Internet button for the SFTP side, and enter just
/
in the folder field.

Then use the Browse button to find your folder. This should give you an absolute path. It may look the same as before, but the leading / in the folder field signifies that it's an absolute path.

Another possibility would be that some other software immediately removes the incoming file.

You could also look for SFTP logs on the server side.

You can also upgrade to Syncovery 9 or 10. These have a new SFTP Implementation with better compatibility with modern SFTP servers. Although that doesn't seem to be the problem here.

arif1490
Posts: 9
Joined: Wed Nov 16, 2022 5:00 pm

Re: Move files from Windows-Local to FTP not working

Post by arif1490 »

Thank you Tobias for the response.

I'll try the steps you mentioned and let you know here.

tobias
Posts: 1639
Joined: Tue Mar 31, 2020 7:37 pm

Re: Move files from Windows-Local to FTP not working

Post by tobias »

Hi,
yes, I am pretty sure that the specied path was created as a sub-path in the SFTP user's home folder, because the path did not start with a / in the "Folder" field on the Internet protocol settings dialog. So instead of using the Browse button, you can just add the missing / at the beginning.

You won't see the difference on the main profile editor dialog, only on the Internet protocol settings dialog.

You should be able to find the uploaded files in subfolders of the SFTP user's home folder.

arif1490
Posts: 9
Joined: Wed Nov 16, 2022 5:00 pm

Re: Move files from Windows-Local to FTP not working

Post by arif1490 »

Thank you, Tobias.

Your solution worked like a charm.
it was all because of the missing '/' and files went into home directory.
All good now.
Will let you in case of any issues. Lets hope there wont be any.

tobias
Posts: 1639
Joined: Tue Mar 31, 2020 7:37 pm

Re: Move files from Windows-Local to FTP not working

Post by tobias »

Hello,
thanks. I have edited your original post a little to remove confidential info from the log file.

arif1490
Posts: 9
Joined: Wed Nov 16, 2022 5:00 pm

Re: Move files from Windows-Local to FTP not working

Post by arif1490 »

Thank you again. :D

Post Reply