Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synchronize-download and download-compare don't seem to work #10633

Closed
cyberduck opened this issue Feb 23, 2019 · 1 comment
Closed

Synchronize-download and download-compare don't seem to work #10633

cyberduck opened this issue Feb 23, 2019 · 1 comment
Labels
bug cli Command Line Interface worksforme

Comments

@cyberduck
Copy link
Collaborator

5b6b6fa created the issue

i'm attempting to get just changed/updated files from my ftp site to my machine and can't seem to get it to work, i'm not sure if it's something i'm doing wrong or if these commands don't work (or don't work as i expect).

when initially downloading i'm using:

     --preserve --existing compare --download 
          - (as well as all the other bits like where to get stuff and where to put it) 

if i run the command again duck seems to just re-download everything, no comparing happening (the files on the server aren't changing)

if i attempt to use synchronize with:

--preserve --existing download --synchronize  
 duck seems to look at the files (based on the verbose output) but then returns with 
      Transfer incomplete…
      > QUIT 
      < 221-Goodbye. You uploaded 0 and downloaded 0 kbytes.

this is even when files have changed on the server and should thus be new and pulled down (or so i expect)

Can you let me know if i'm missing something in the commands i'm running or in how i'm expecting this to work?

In case it affects things, the ftp path i'm pulling from has quite a few subfolders and files, not just a flat structure.

@cyberduck
Copy link
Collaborator Author

5b6b6fa commented

aha. of course right after i make the ticket i learn something new...

If i have a trailing / on the destination things work as i expect.

If i run

duck  --assumeyes --preserve --parallel 7 --existing compare --download ftps://mycoolsite/registration/ ~/Lab/ftp/clean

I get the behavior i described as the first run downloads the files in the registration folder to ~/Lab/ftp/clean

If i run it again though it downloads to ~/Lab/ftp/clean/registration

So a third run works but now I have the same files in /registration/ nested within eachother (in ~/Lab/ftp/clean and ~/Lab/ftp/clean/registration) on my local machine.

It seems as though subsequent runs are also finding additional files to download that aren't different but currently in the neighbourhood of 350 MB instead of 3.5 GB.

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug cli Command Line Interface worksforme
Projects
None yet
Development

No branches or pull requests

1 participant