Page 2 of 2

Re: Problem test setting FTP

Posted: 10 Nov 2021, 22:46
by chuckyz
Hi, when usign Gravity, i can download and upload from/to a ftp server (filezilla server), unsecure 21 port from/to a local folder. But the same task using Reflector, i can upload from a local folder to a FTP server, but i can´t download a folder FROM the same FTP server to a local folder.
The only difference is that Gravity takes the last / when i specify an FTP folder (eg. /REMOTEFOLDER/). Reflector, instead, looks for /REMOTEFOLDER although i entered /REMOTEFOLDER/ in the task settings. Therefore, when i try to download, error "Couldn't get or parse the remote list" shows up in log. Tried different things but the issue remains. Thanks for the good work.

Re: Problem test setting FTP

Posted: 11 Nov 2021, 00:17
by cobian
Thanks!

Will take a look at that.

Re: Problem test setting FTP

Posted: 14 Nov 2021, 23:02
by cobian
OK, it seems like FileZilla doesn't support LIST-a.

Uncheck List hidden files from your connection.

Re: Problem test setting FTP

Posted: 07 Dec 2021, 16:23
by Firebug
I tried a test of SFTP and got this


Logged in into the remote server.

Connected to the remote server.
Changing the initial directory to "/"...
The remote directory was successfully changed to "/"

Creating a test file to upload...
Uploading the test file...

The client is now disconnected.
Deleting the test file from the temporary directory...

An error occurred while testing the connection: Permission denied (code=3)
You can also check the Advanced log tab for more information.

No test file arrived.

Re: Problem test setting FTP

Posted: 07 Dec 2021, 22:41
by cobian
This is a permissions thing. I would guess that the SFTP is configured with / being the real root. Try changing it to /home/<yourusername>

Re: Problem test setting FTP

Posted: 11 Dec 2021, 22:59
by Adkinson
Hi

litle FTP thing - got error when testing ftp connection with initial directory included parameter (e.g. %%FNDATENOTIME)

part of adv.log explaining issue -

Code: Select all

Testing your ftp settings...

Licence expiry date: 31.12.9999
Set LocalDirectory to C:\Users\Administrator\AppData\Local\Temp\2\scoped_dir2688_1782115280
Licence expiry date: 31.12.9999
waitOnShutdownSSL=True
StrictReturnCodes=False
Setting socket timeout=20000
SecureSocket timeout=20000
SecureSocket timeout=20000
Command encoding=System.Text.SBCSCodePageEncoding
Setting socket buffer sizes=-1
220 (vsFTPd 3.0.3)
---> USER backup
331 Please specify the password.
---> PASS ********
230 Login successful.
ChangeWorkingDirectory('/DocsDaily/%FNDATENOTIME')
---> CWD /DocsDaily/%FNDATENOTIME
550 Failed to change directory.
Expected reply codes = [200,250] (strict=False)
ChangeWorkingDirectory error: Failed to change directory. (code=550)
Purging task queue
Defaulting to Unix parsing
---> QUIT
221 Goodbye.
Shutdown(Both)
KeepAlive thread finished.
imho, right behavior in this case - testing directory without parameter (which one will be created on real backup task action, as I`m hoping)

later p.s. oh no.. looks like directory by parameter (%FNDATENOTIME) does not created, unlike Gravity ...
:

Code: Select all

    2021-12-12 00:46:14 Backing up the task "1CBasesDaily"
    2021-12-12 00:46:14 Changing the backup type to full. Reason: first backup of the task.
    2021-12-12 00:46:14 Requesting the creation of a Volume Shadow Copy image for the source...
    2021-12-12 00:46:19 The Volume Shadow Copy image has been successfully created.
    2021-12-12 00:46:19 Starting the copy. The user running the task is: SYSTEM
    2021-12-12 00:46:19 Compressing the sources into a global monolithic archive...
    2021-12-12 00:46:19 Adding the directory "D:\1CBases" to the archive...
    2021-12-12 00:47:37 Clearing the archive attribute of the processed files...
    2021-12-12 00:47:37 The monolithic archive "C:\Windows\TEMP\1CBasesDaily.zip" has been created. Files in archive: 5. Folders: 43. Ignored files: 183  Uncompressed size: 8,58 GB
    2021-12-12 00:47:37 Connecting to 192.168.1.98:21...
    2021-12-12 00:47:37 Connected to 192.168.1.98:21.
    2021-12-12 00:47:37 Logged in into the remote server.
ERR 2021-12-12 00:47:37 Couldn't change the remote directory to "/1CBasesDaily/2021-12-12": Failed to change directory. (code=550)
    2021-12-12 00:47:37  * Backup part for the task "1CBasesDaily" has ended. Number of backed up files: 0. Backup part size: 0 bytes. *
    2021-12-12 00:47:37 Deleting the temporary archive "C:\Windows\TEMP\1CBasesDaily.zip"...
    2021-12-12 00:47:38 The temporary archive "C:\Windows\TEMP\1CBasesDaily.zip" has been successfully deleted.
    2021-12-12 00:47:38  ** Backup for the task "1CBasesDaily" has ended. Number of backed up files: 4. Created folders: 0. Backup 
is this bug or feature?

--
anyway, был очень рад, что работа над программой продолжилась

Re: Problem test setting FTP

Posted: 12 Dec 2021, 00:32
by cobian
The initial directory on the ftp must exists... But perhaps I will change this and try to create it...

Re: Problem test setting FTP

Posted: 12 Dec 2021, 21:20
by cobian
Yes, the initial directory must exists. I will not change that for the moment. You could check Separated backups by time stamps AND use for example yyyy-MM-dd in Advanced - Timestamp for format in file names.