Topic "IPAD and FTP Path Length Problems"

Author Message
Guest




Hello
Can anybody advise on this problem ? [Path length or IPAD Limit ?]

WinScp seems to fail constantly when FTP'ing an IPAD.
Standard FTP had already failed and was hoping this SW would overcome
the Win Limits. However this may be due to limits on the IPAD.

Basically this occurs when there are several SubDirectories of medium
length but well under the 256 MAX_PATH limit of Windows.
Even 'manually' creating through FTP a series of directories
Test Directory1/Test Directory2/Test Directory3/Test Directory4/
etc after a few subfolders this fails (in this case Only 96 chars)

Error: directory path too long 'Test Directory6'.

Using an FTP Transfer of a Directory Tree get in the log
451 Error: No such file or directory.
Could not retrieve directory listing

Note using a Linux standard FTP Web Server have no problems
It manages at least 240+ Chars.

I was wishing to send up a Business Data Folder to the Ipad for
a Client but with this apparent limit seems impossible.
The client has several Folders with many organized sub folders
The Path lengths are well over 150 Chars.

Thanks for any suggestions
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Please post a full log file showing the problem.

To generate log file, enable logging, log in to your server and do the operation and only the operation that causes the error. For posting extensive logs you may use pastebin or similar application. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you may email it to me. You will find my address (if you log in) in my forum profile. Please include link back to this topic in your email. Also note in this topic that you have emailed the log.
Guest




Hello,

Thanks for the follow up. My apologies for the late reply but since I posted I have been occupied and had not received the usual mail notifying me on a response to the post.

I was obliged to return the Ipad to the owner and thus I cannot do other tests on it today, however I have conferred with one of the technicians of the Ipad App 'FileApp Pro' who confirmed my suspicions.
There does seem to be a real problem uploading files in folders which are moderately deep (>160 ca. chars), whereas uploading to an Unix FTP Server one can go at least to the Windows Max_Path of 250+ Chars (260 on some MSDN TechNotes)

> Snippet of successful Unix FTP Session ...
LIST
150 Accepted data connection
Download
Waiting for server...
226-Options: -a -l
226 2 matches total
MKD Test Directory9
257 "Test Directory9" : The directory was successfully created
CWD Test Directory9
250 OK. Current directory is /public_ftp/Test Directory1/Test Directory2/Test Directory3/Test Directory4/Test Directory5/Test Directory6/Test Directory7/Test Directory8/Test Directory9
PWD
257 "/public_ftp/Test Directory1/Test Directory2/Test Directory3/Test Directory4/Test Directory5/Test Directory6/Test Directory7/Test Directory8/Test Directory9" is your current location
Get directory
PASV
227 Entering Passive Mode (64,22,96,76,147,100)
LIST
150 Accepted data connection
Download
Waiting for server...
226-Options: -a -l
226 2 matches total
MKD Test Directory10
257 "Test Directory10" : The directory was successfully created
CWD Test Directory10
250 OK. Current directory is /public_ftp/Test Directory1/Test Directory2/Test Directory3/Test Directory4/Test Directory5/Test Directory6/Test Directory7/Test Directory8/Test Directory9/Test Directory10
PWD
......................................

Snippet of unsuccessful Ipad FTP Session
[Both Ascii Mode and Binary mode failed]

Binary transfer mode selected.
....
....

CWD /
250 OK
MKD Long Dir Name 40 Chars - Test Directory1
257 "Long Dir Name 40 Chars - Test Directory1" has been created.
CWD /Long Dir Name 40 Chars - Test Directory1/
250 OK
MKD Long Dir Name 40 Chars - Test Directory2
257 "Long Dir Name 40 Chars - Test Directory2" has been created.
CWD /Long Dir Name 40 Chars - Test Directory1/Long Dir Name 40 Chars - Test Directory2/
250 OK
MKD Long Dir Name 40 Chars - Test Directory3
451 Error: directory path too long 'Long Dir Name 40 Chars - Test Directory3'.
CWD /Long Dir Name 40 Chars - Test Directory1/Long Dir Name 40 Chars - Test Directory2/Long Dir Name 40 Chars - Test Directory3/
451 Error: No such file or directory.
............................

Failed well before any expected path limits. (Only 120 ca. Chars)
It would seem indeed that there is a problem uploading to certain folders on an Ipad. This was to a FileApp Pro Subfolder.

Question :
Have you managed to upload Files in paths which are moderately long ?
Can you upload Paths over 200 Chars in length ?
If you did, were you obliged to use JailBreak ?

It seems confirmed that due to Apple's App Sandbox approach to the File system one is also limited to the management of one's files.

The client wanted to upload his Business Data Folder and read the contents with his clients (Contents = .doc, .xls, .pdf, .jpg and .dwg)

This works for most files up to a point.
However the App for reading the Cad Files demands that the files are in a Subfolder of it's own Folder and not the folder where the Clients uploaded his files. (Just as FileApp demands that to use the File Management options of the App the Files must be in a Sub Folder of the File App Folder)
The result is of course a complete failure for the client.
What was to be a simple quick upload and read, now becomes :
1. redo the complete structure of the business folders so that no path is grater than around 170 chars,
2. upload only a part of this to one folder and
3. another part to another folder.

===> Total loss of the possibility for synchronization for the Client.

I thank you or anybody for confirmation, comments or criticism of the method used and the Subject.


prikryl wrote:
Please post a full log file showing the problem.

To generate log file, enable logging, log in to your server and do the operation and only the operation that causes the error. For posting extensive logs you may use pastebin or similar application. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you may email it to me. You will find my address (if you log in) in my forum profile. Please include link back to this topic in your email. Also note in this topic that you have emailed the log.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
I have no experience with using WinSCP with any Apple device.
_________________
Martin Prikryl
chaitong01@...

Guest


[quote="Anonymous"]Hello
Can anybody advise on this problem ? [Path length or IPAD Limit ?]

WinScp seems to fail constantly when FTP'ing an IPAD.
Standard FTP had already failed and was hoping this SW would overcome
the Win Limits. However this may be due to limits on the IPAD.

Basically this occurs when there are several SubDirectories of medium
length but well under the 256 MAX_PATH limit of Windows.
Even 'manually' creating through FTP a series of directories
Test Directory1/Test Directory2/Test Directory3/Test Directory4/
etc after a few subfolders this fails (in this case Only 96 chars)

Error: directory path too long 'Test Directory6'.

Using an FTP Transfer of a Directory Tree get in the log
451 Error: No such file or directory.
Could not retrieve directory listing

Note using a Linux standard FTP Web Server have no problems
It manages at least 240+ Chars.

I was wishing to send up a Business Data Folder to the Ipad for
a Client but with this apparent limit seems impossible.
The client has several Folders with many organized sub folders
The Path lengths are well over 150 Chars.

Thanks for any suggestions[/quote][color=blue][/color][size=7][/size][size=7][/size]
Advertisements

You can post new topics in this forum






Search Site

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