Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

kenny782

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

Re: Could not retrieve file information on alot uploads

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

We are hoping to fix this in a near feature.
kenny782

Could not retrieve file information on alot uploads

***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":
< 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":
> 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