Topic "Could not retrieve file information on alot uploads"

Author Message
kenny782
[View user's profile]

Joined: 2017-06-29
Posts: 3
Location: New York
***UPDATE***
Attached Debug Log File, however doesn't have much more information I'm afraid

WinSCP Version: 5.9.6 Portable GUI


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


Errors:
"Could not retrieve file information"
and
"The system cannot find the path specified"


Description:
I'm trying to upload a large amount of local data to the resources folder on an FTP server (99% PDF's).
The resources folder is empty to start with so the application doesn't have to worry about analyzing what's already there, comparing, overwriting etc....
Anyway I saw a fair number of the errors shown above so I hit Skip all to get as much as I can up there for now.

In the case of: "The system cannot find the path specified"
I pasted the exact path from the log for two 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 it with another FTP program and it worked fine.

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

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

Standard, Debug_1 and Debug_2 Logs attached but here are two examples.

Examples:

Example of "Could not retrieve file information":
Code:
< 2017-07-10 13:40:09.497 257 "/public_html/resources/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" is your current location
> 2017-07-10 13:40:09.497 TYPE A
< 2017-07-10 13:40:09.575 200 TYPE is now ASCII
> 2017-07-10 13:40:09.575 PORT 192,168,10,18,33,125
< 2017-07-10 13:40:09.637 200 PORT command successful
> 2017-07-10 13:40:09.637 MLSD
< 2017-07-10 13:40:09.793 150 Connecting to port 8573
< 2017-07-10 13:40:09.793 226-Options: -a -l
< 2017-07-10 13:40:09.793 226 2 matches total
. 2017-07-10 13:40:09.793 Data connection closed
. 2017-07-10 13:40:09.793 type=cdir;sizd=4096;modify=20170710163912;UNIX.mode=0755;UNIX.uid=501;UNIX.gid=501;unique=33c0b671g4427bc; .
. 2017-07-10 13:40:09.793 type=pdir;sizd=4096;modify=20170710163957;UNIX.mode=0755;UNIX.uid=501;UNIX.gid=501;unique=33c0b671g4427bb; ..
. 2017-07-10 13:40:09.793 Could not retrieve file information
. 2017-07-10 13:40:09.793 Copying files to remote side failed.
. 2017-07-10 13:40:09.793 Got reply 2004 to the command 4
* 2017-07-10 13:40:09.793 (ExtException) **Could not retrieve file information**
* 2017-07-10 13:40:09.793 Copying files to remote side failed.
. 2017-07-10 13:40:09.793 Asking user:
. 2017-07-10 13:40:09.793 Error 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 retrieve file information","Copying files to remote side failed.")



Example of "The system cannot find the path specified":
Code:
> 2017-07-10 13:44:19.567 TYPE I
< 2017-07-10 13:44:19.645 200 TYPE is now 8-bit binary
> 2017-07-10 13:44:19.645 PORT 192,168,10,18,33,143
< 2017-07-10 13:44:19.723 200 PORT command successful
. 2017-07-10 13:44:19.723 Can't open 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\TDS_01-2550 FN SCAR MK16 (MMR_BLANK).PDF'.
. 2017-07-10 13:44:19.723 System Error.  Code: 3.

. 2017-07-10 13:44:19.723 The system cannot find the path specified
. 2017-07-10 13:44:19.723 Copying files to remote side failed.
. 2017-07-10 13:44:19.723 Got reply 4 to the command 4



Thanks,

Kenny


FYI
For the hell of it I just downloaded the 5.10.2 beta and try to transfer New and Updated Files only, got the same errors as 5.9.6
Debug 1.log (2.09 MB) [Download]

Description: After Completed Transfer

Debug 2.log (4.06 MB) [Download]

Description: After Completed Transfer

FTP.log (1.65 MB) [Download]

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 information

Advertisements
martin◆
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27059
Location: Prague, Czechia
WinSCP does not support long local paths with FTP protocol:
https://winscp.net/tracker/show_bug.cgi?id=1337

We are hoping to fix this in a near feature.
kenny782
[View user's profile]

Joined: 2017-06-29
Posts: 3
Location: New York
What's the maximum length currently?

I'm assuming the .net DLL package 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 you have hostname/public_html/resources which makes the destination path longer than the source.
martin◆
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27059
Location: Prague, Czechia
It's only local paths. The limit is about 260 characters.
See https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247.aspx#maxpath
Advertisements

You can post new topics in this forum

Search

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License