login about faq

Hi. With Chilkat ftp2 for UWP, i'm trying to sync a remote directory, i'm getting files from a Picture localstorage:

int mode = 2; success = await ftp.SyncRemoteTreeAsync(storageFolder.Path, mode);

succes returns 'true' but no one file were uploaded, so, i get this LastErrorText:

ChilkatLog:
  SyncRemoteTree:
    DllDate: Apr  7 2016
    ChilkatVersion: 9.5.0.58
    UnlockPrefix: Anything for 30-day trial
    Username: WinPhone:
    Architecture: Little Endian; 64-bit
    VerboseLogging: 0
    putTree2:
      localRootDir: C:\Users\Giancarlo\Pictures\MrFida
      ProgressMonitoring:
        enabled: yes
        heartbeatMs: 0
        sendBufferSize: 65536
      --ProgressMonitoring
      mode 2: Upload missing and newer files.
      PlanOnly: 0
      Mode: 2
      PreviewOnly: 0
      RecursiveDescend: 1
      FileCount: 0
      DirCount: 0
      TotalSizeInBytes: 0
      WindowsError: Access is denied.
      rootDir: C:/Users/Giancarlo/Pictures/MrFida/
      remoteBaseDir: /
      initialCurrentRemoteDir: /
      fetchDirListing:
        fetchDirListing2:
          readFtpDataChannel:
            WinRT socket read failed!
          --readFtpDataChannel
        --fetchDirListing2
      --fetchDirListing
      originalDir: /
    --putTree2
    Success.
  --SyncRemoteTree
--ChilkatLog

Can someone help me?

asked May 19 at 04:49

Janx's gravatar image

Janx
111

edited May 19 at 09:17

jpbro's gravatar image

jpbro ♦
1.1k2618


There seems to be 2 problems here. The 1st is a local directory permissions error (WindowsError: Access is denied.) This pertains to the local filesystem (C:/Users/Giancarlo/Pictures/MrFida/).

The 2nd problem is with the FTP data connection. My guess is that it's the WinRT manifestation of the typical "blocked data connection" problem where the FTP data connection is blocked by a Windows Firewall, or an external hardware firewall on either the client or server side.

You could turn on VerboseLogging to get more information in LastErrorText.

Also, to diagnose data connection problems, you would test with a simpler method such as ftp.GetTextDirListing("*") (Directory listings in FTP are downloaded via data connections.)

Also, see http://cknotes.com/determining-ftp2-connection-settings/ for more details about diagnosing data connection problems.

link

answered May 20 at 09:40

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

Thank you, yes, the first problem was a permission issue, the second problem was a user limitation in ftp server. Now, i solved both.

Thank you again!

link

answered May 22 at 03:27

Janx's gravatar image

Janx
111

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×131
×7
×2

Asked: May 19 at 04:49

Seen: 443 times

Last updated: May 22 at 03:27

powered by OSQA