BetaArchive Logo
Navigation Home Screenshots Image Uploader Server Info FTP Servers Wiki Forum RSS Feed Rules Please Donate
UP: 7d, 22h, 39m | CPU: 47% | MEM: 2008MB of 4203MB used
{The community for beta collectors}

Post new topic Reply to topic  [ 8 posts ] 
Author Message
 PostPost subject: Can't download files with really long paths from FTP        Posted: Sat Feb 10, 2018 5:44 am 
Reply with quote
FTP Access
User avatar
Offline

Joined
Sun Mar 16, 2014 6:56 am

Posts
132

Favourite OS
DOS
I'm using FileZilla and I want to download some files from /(Beta) Operating Systems/PC/Microsoft Windows Server 2008 (''Longhorn Server'')/6.0.6001.16510/ (hopefully just checksum files). I can't seem to get the files I want, though.

I think it's related to the path length.

All 5 subdirectories contain a www.betaarchive.com.info file. I can download that file from these subdirectories:

6.0.6001.16510.longhorn_beta3.070417-1740_ia64fre_server-serverenterpriseia64_retail_en-us
6.0.6001.16510.longhorn_beta3.070417-1740_x86fre_server-serverweb_retail_en-us

but not from these ones with longer names:

6.0.6001.16510.longhorn_beta3.070417-1740_x86fre_server-serverstandard-serverenterprise-serverdatacenter_retail_de-de
6.0.6001.16510.longhorn_beta3.070417-1740_x86fre_server-serverstandard-serverenterprise-serverdatacenter_retail_en-us
6.0.6001.16510.longhorn_beta3.070417-1740_x86fre_server-serverstandard-serverenterprise-serverdatacenter_retail_en-us (alt)

An example of the error:

Code:
Command:        CWD /(Beta) Operating Systems/PC/Microsoft Windows Server 2008 (''Longhorn Server'')/6.0.6001.16510/6.0.6001.16510.longhorn_beta3.070417-1740_x86fre_server-serverstandard-serverenterprise-serverdatacenter_retail_en-us (alt)
Response:       250 CWD command successful. "/(Beta) Operating Systems/PC/Microsoft Windows Server 2008 (''Longhorn Server'')/6.0.6001.16510/6.0.6001.16510.longhorn_beta3.070417-1740_x86fre_server-serverstandard-serverenterprise-serverdatacenter_retail_en-us (alt)" is current directory.
Command:        PWD
Response:       257 "/(Beta) Operating Systems/PC/Microsoft Windows Server 2008 (''Longhorn Server'')/6.0.6001.16510/6.0.6001.16510.longhorn_beta3.070417-1740_x86fre_server-serverstandard-serverenterprise-serverdatacenter_retail_en-us (alt)" is current directory.
Status: Retrieving directory listing...
Command:        PASV
Response:       227 Entering Passive Mode (94,130,67,140,4,60)
Command:        MLSD
Response:       150 Data connection accepted from <MY IP>:46478; transfer starting.
Response:       226 Directory Listing Transfe
Command:        PASV
Response:       227 Entering Passive Mode (94,130,67,140,4,31)
Command:        RETR www.betaarchive.com.info
Response:       550 "www.betaarchive.com.info": no such file.
Error:          Critical file transfer error


FileZilla is running PWD to make sure the CWD worked, so it looks like it's definitely changed into the correct directory. I'm guessing this isn't on the client side then.


Top  Profile
 PostPost subject: Re: Can't download files with really long paths from FTP        Posted: Sat Feb 10, 2018 10:11 am 
Reply with quote
FTP Access
User avatar
Offline

Joined
Mon Feb 24, 2014 10:28 am

Posts
1245

Location
Slovenia

Favourite OS
5111
Same issue here, it's actually impossible to download anything in said folders.

_________________
KRNL386 - A site about retro computing
My MEGA storage for betas and abandonware


Top  Profile
 PostPost subject: Re: Can't download files with really long paths from FTP        Posted: Sat Feb 10, 2018 10:29 pm 
Reply with quote
Administrator
User avatar
Offline

Joined
Tue Feb 12, 2008 5:28 pm

Posts
7127
I've shortened the folder names as much as I can without breaking the whole naming standard. Try it out and let me know if it works.

You can thank Microsoft for their junk legacy NT standards...

_________________
Image
Official guidelines: The Definitive Guide to BetaArchive :: Abandonware
Tools: Alcohol120% (Portable)
Listings: Online :: Offline
Channels: Discord :: Twitter


Top  Profile  WWW
 PostPost subject: Re: Can't download files with really long paths from FTP        Posted: Sun Feb 11, 2018 12:11 am 
Reply with quote
VIP
User avatar
Offline

Joined
Fri May 14, 2010 1:29 pm

Posts
788

Location
Southern Germany

Favourite OS
IRIX 5.3
mrpijey wrote:
You can thank Microsoft for their junk legacy NT standards...

Nobody said running an FTP on Windows was a good idea ;-)

"260 characters in a path name should be enough for everybody" --Bill Gates

Offtopic Comment
But to be fair, in this case it's the FTP server's fault, NT has nothing to do with it. There have been ways around the MAX_PATH limit for over a decade, yet most programmers still stick to the old APIs with their limitations.

_________________
I upload stuff to archive.org from time to time. See here for everything that doesn't fit BA


Top  Profile
 PostPost subject: Re: Can't download files with really long paths from FTP        Posted: Sun Feb 11, 2018 12:48 am 
Reply with quote
Administrator
User avatar
Offline

Joined
Tue Feb 12, 2008 5:28 pm

Posts
7127
Yes, they stick to the APIs because that's proper practice. And also because the APIs are there at all, if MS has phased them out or enforced updated APIs the software would have followed. We wouldn't want software devs that ignored the APIs or we would be back in the early 90's again... so in this case it's Microsodt's fault for not enforcing updates.

Running the FTP on anything else than Windows is at the moment impossible either way. And we have no other solution for sharing the files with the required bandwidth and quota control we require.

But to the point here, did the rename work?

_________________
Image
Official guidelines: The Definitive Guide to BetaArchive :: Abandonware
Tools: Alcohol120% (Portable)
Listings: Online :: Offline
Channels: Discord :: Twitter


Top  Profile  WWW
 PostPost subject: Re: Can't download files with really long paths from FTP        Posted: Sun Feb 11, 2018 1:43 am 
Reply with quote
FTP Access
User avatar
Offline

Joined
Sun Mar 16, 2014 6:56 am

Posts
132

Favourite OS
DOS
mrpijey wrote:
I've shortened the folder names as much as I can without breaking the whole naming standard. Try it out and let me know if it works.


Thanks, but it still doesn't work. I tried to fetch:

/(Beta) Operating Systems/PC/Microsoft Windows Server 2008 (''Longhorn Server'')/6.0.6001.16510/6.0.6001.16510.longhorn_beta3.070417-1740_x86fre_server-serverstandard-serverenterprise-serverdatacenter_retail_en-us/release_info.txt

but got the same error.

That path actually looks identical to what I reported before, maybe you shortened the wrong one or somehow I'm not seeing the change?

That whole path is only 230 characters long, but I guess the FTP server root directory has to get added to it?


Top  Profile
 PostPost subject: Re: Can't download files with really long paths from FTP        Posted: Sun Feb 11, 2018 2:32 am 
Reply with quote
Administrator
User avatar
Offline

Joined
Tue Feb 12, 2008 5:28 pm

Posts
7127
Ah, my bad, didn't notice it was Server 2008, I only renamed the Server 2016 ones. Try now.

_________________
Image
Official guidelines: The Definitive Guide to BetaArchive :: Abandonware
Tools: Alcohol120% (Portable)
Listings: Online :: Offline
Channels: Discord :: Twitter


Top  Profile  WWW
 PostPost subject: Re: Can't download files with really long paths from FTP        Posted: Sun Feb 11, 2018 3:14 am 
Reply with quote
FTP Access
User avatar
Offline

Joined
Sun Mar 16, 2014 6:56 am

Posts
132

Favourite OS
DOS
Thanks, it works now! <:o)


Top  Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 




Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

All views expressed in these forums are those of the author and do not necessarily represent the views of the BetaArchive site owner.

Powered by phpBB® Forum Software © phpBB Group

Copyright © 2006-2018

 

Sitemap | XML | RSS