Could Not Retrieve File Size for Upload File

kenny782
Joined:
Posts:
3
Location:
New York

***UPDATE***
Attached Debug Log File, notwithstanding doesn't have much more than information I'chiliad afraid

WinSCP Version: v.ix.6 Portable GUI

Source Server: Windows 2008 R2 X64
Destination Server: Linux FTP/Web Server

Errors:
"Could non retrieve file data"
and
"The system cannot find the path specified"

Description:
I'thousand trying to upload a large amount of local data to the resources folder on an FTP server (99% PDF's).
The resource binder is empty to start with and then the awarding doesn't have to worry well-nigh analyzing what'southward already there, comparing, overwriting etc....
Anyhow I saw a fair number of the errors shown above and so I hit Skip all to get as much every bit I can up at that place for now.

In the case of: "The system cannot find the path specified"
I pasted the exact path from the log for 2 entries with this error into windows explorer and the file opened no problem.
I also tried manually verifying the path for one of the files and copied information technology with some other FTP plan and it worked fine.

Nevertheless I want to utilize WinSCP since I am developing a PowerShell script to automate this and transfer any updates daily.

Equally far as: "Could not retrieve file information"
I don't have a clue...
I know the path'due south are pretty long

Standard, Debug_1 and Debug_2 Logs attached merely hither are two examples.

Examples:

Case of "Could not retrieve file data":

< 2017-07-10 xiii:40:09.497 257 "/public_html/resources/All Dealers/(A) Firearm Mfg.-Round - PPE (MSDS.TDS.DRAWINGS)/Firearm Mfg.-Circular (MSDS.TDS.Drawings)/FN Herstal/MK16 & MK17/MK16 & MK17 - MMR-Bare-NMR-RVR/MK16 Conversions - MMR-Blank-NMR-RVR" is your current location > 2017-07-10 13:twoscore:09.497 TYPE A < 2017-07-10 thirteen:40:09.575 200 TYPE is at present ASCII > 2017-07-10 13:forty:09.575 PORT 192,168,10,18,33,125 < 2017-07-10 13:40:09.637 200 PORT control successful > 2017-07-10 13:40:09.637 MLSD < 2017-07-x 13:40:09.793 150 Connecting to port 8573 < 2017-07-10 thirteen:forty:09.793 226-Options: -a -fifty  < 2017-07-10 13:forty:09.793 226 ii matches total . 2017-07-x thirteen:40:09.793 Information connexion closed . 2017-07-10 13:forty:09.793 type=cdir;sizd=4096;modify=20170710163912;UNIX.mode=0755;UNIX.uid=501;UNIX.gid=501;unique=33c0b671g4427bc; . . 2017-07-ten thirteen:40:09.793 type=pdir;sizd=4096;modify=20170710163957;UNIX.style=0755;UNIX.uid=501;UNIX.gid=501;unique=33c0b671g4427bb; .. . 2017-07-10 13:twoscore:09.793 Could not call back file information . 2017-07-ten thirteen:40:09.793 Copying files to remote side failed. . 2017-07-10 xiii:40:09.793 Got reply 2004 to the command 4 * 2017-07-ten thirteen:40:09.793 (ExtException) **Could not retrieve file information** * 2017-07-x 13:40:09.793 Copying files to remote side failed. . 2017-07-10 thirteen:xl:09.793 Request user: . 2017-07-x 13:40:09.793 Mistake transferring file 'D:\Company\inSync Share\Company-Markting\All Dealers\(A) Firearm Mfg.-Round - PPE (MSDS.TDS.DRAWINGS)\Firearm Mfg.-Round (MSDS.TDS.Drawings)\FN Herstal\MK16 & MK17\MK16 & MK17 - MMR-Blank-NMR-RVR\MK16 Conversions - MMR-Blank-NMR-RVR\01-2550_C FN SCAR Conversion Kit TL.PDF'. ("Could not call up file information","Copying files to remote side failed.")

Case of "The arrangement cannot find the path specified":

> 2017-07-x 13:44:19.567 Blazon I < 2017-07-x xiii:44:19.645 200 Blazon is now 8-bit binary > 2017-07-x 13:44:nineteen.645 PORT 192,168,x,eighteen,33,143 < 2017-07-x xiii:44:19.723 200 PORT control successful . 2017-07-x 13:44:19.723 Can't open file 'D:\Visitor\inSync Share\Company-MARKTING\All Dealers\(A) Firearm Mfg.-Round - PPE (MSDS.TDS.DRAWINGS)\Firearm Mfg.-Circular (MSDS.TDS.Drawings)\FN Herstal\MK16 & MK17\MK16 & MK17 - MMR-Blank-NMR-RVR\MK16 Conversions - MMR-Blank-NMR-RVR\TDS_01-2550 FN SCAR MK16 (MMR_BLANK).PDF'. . 2017-07-10 13:44:19.723 System Fault.  Code: 3.  . 2017-07-10 13:44:xix.723 The arrangement cannot find the path specified . 2017-07-x 13:44:19.723 Copying files to remote side failed. . 2017-07-10 thirteen:44:19.723 Got answer four to the control iv

Thanks,

Kenny

FYI
For the hell of it I but downloaded the 5.ten.2 beta and try to transfer New and Updated Files but, got the same errors as 5.9.vi

  • Debug 1.log (2.09 MB)

Description: After Completed Transfer

  • Debug two.log (four.06 MB)

Description: After Completed Transfer

  • FTP.log (1.65 MB)

Description: The transfer was still in progress when I copied this. But the final file will be who knows how big and this includes some data

Reply with quote

martin◆
Site Admin
martin avatar
Joined:
Posts:
37,076
Location:
Prague, Czechia

WinSCP does not back up long local paths with FTP protocol:
https://winscp.net/tracker/1337

We are hoping to fix this in a near feature.

Respond with quote

kenny782
Joined:
Posts:
iii
Location:
New York

What'south the maximum length currently?

I'yard assuming the .net DLL packet has the same limitation?

Does the limitation only effect local paths or do I have to be concerned with the destination which is possibly longer? Since yous take hostname/public_html/resources which makes the destination path longer than the source.

Reply with quote

martin◆
Site Admin
martin avatar

Answer with quote

chapmanlationston.blogspot.com

Source: https://winscp.net/forum/viewtopic.php?t=25108

0 Response to "Could Not Retrieve File Size for Upload File"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel