login about faq

Hi,

I try to download file using ftp2 class to a network folder using UNC path and I got this error:

ChilkatLog:
  GetFile:
    DllDate: Dec 12 2012
    UnlockPrefix: ALANNOFTP
    Username: OHOU02WK41:tin.nguyen
    Architecture: Little Endian; 32-bit
    Language: .NET 2.0
    VerboseLogging: 0
    ProgressMonitoring:
      enabled: no
      heartbeatMs: 0
      sendBufferSize: 65536
    --ProgressMonitoring
    AutoGetSizeForProgress: 0
    localFilename: \ohou02dt01.orion.internalDataTransfersGatewayDemographicToBeProcessedtest.csv
    openForReadWriteWin32:
      Failed to open file (2)
      localFilePath: \ohou02dt01.orion.internalDataTransfersGatewayDemographicToBeProcessedtest.csv
      currentWorkingDirectory: D:TFS_RMI_DevRMI_DevDataRetriever.rootDataRetrieverDataRetrieverbinDebug
      osErrorInfo: The system cannot find the file specified.
      localWindowsFilePath: \ohou02dt01.orion.internalDataTransfersGatewayDemographicToBeProcessedtest.csv
    --openForReadWriteWin32
    TotalTimeMs: Elapsed time: 141 millisec
    Failed.
  --GetFile
--ChilkatLog

This is the code that I use: success = ftps.GetFile(fname, localFilePath.TrimEnd("") & "" & fname)

This is the value of my variables: ?localFilePath.TrimEnd("") & "" & fname

"\ohou02dt01.orion.internalDataTransfersGatewayDemographicToBeProcessedtest.csv"

The folder is there.

Could you help?

Thanks, Tin Nguyen

asked Jun 21 '13 at 10:44

dwhitemoon's gravatar image

dwhitemoon
1111

edited Jun 21 '13 at 13:44

Gert's gravatar image

Gert ♦
629141824


One thing I can think of.... is this process running with privileges on the network?

For example, a typical Windows Service process can not access the network, you need to set a user/pwd for the service.

link

answered Jun 21 '13 at 13:46

Gert's gravatar image

Gert ♦
629141824

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
×33
×1

Asked: Jun 21 '13 at 10:44

Seen: 1,878 times

Last updated: Jun 21 '13 at 13:46

powered by OSQA