Solved

Error 125 - Cannot ftp image files

Posted on 2007-12-05
12
695 Views
Last Modified: 2013-12-02
I'm able to login to the server but cannot upload image files. I can upload all other file types but when I try to upload my \images folder the server times out. The server thinks it's supposed to be transfering but it seems to hang.

Attached is the initial login.

When the web server is first setup everything works OK but eventually I start having this problem.

This has happened to me on three servers over the last year! What am I doing wrong??

Thanks in advance.



      
*** CuteFTP 8.0 - build May 31 2007 ***
 

STATUS:>  	[12/5/2007 9:14:03 AM] Getting listing "\"...

STATUS:>  	[12/5/2007 9:14:03 AM] Connecting to FTP server... 216.55.000.000:21 (ip = 216.55.000.000)...

STATUS:>  	[12/5/2007 9:14:03 AM] Socket connected. Waiting for welcome message...

		[12/5/2007 9:14:03 AM] 220 Microsoft FTP Service

STATUS:>  	[12/5/2007 9:14:03 AM] Connected. Authenticating...

COMMAND:>	[12/5/2007 9:14:03 AM] USER administrator

		[12/5/2007 9:14:03 AM] 331 Password required for administrator.

COMMAND:>	[12/5/2007 9:14:03 AM] PASS *****

		[12/5/2007 9:14:03 AM] 230-Welcome Jay

		230 User administrator logged in.

STATUS:>  	[12/5/2007 9:14:03 AM] Login successful.

COMMAND:>	[12/5/2007 9:14:03 AM] PWD

		[12/5/2007 9:14:03 AM] 257 "/" is current directory.

STATUS:>  	[12/5/2007 9:14:03 AM] Home directory: /

COMMAND:>	[12/5/2007 9:14:03 AM] FEAT

		[12/5/2007 9:14:03 AM] Informational Message Only:

		211-FEAT

		    SIZE

		    MDTM

		211 END

STATUS:>  	[12/5/2007 9:14:03 AM] This site supports features.

STATUS:>  	[12/5/2007 9:14:03 AM] This site supports SIZE.

COMMAND:>	[12/5/2007 9:14:03 AM] REST 100

		[12/5/2007 9:14:04 AM] 350 Restarting at 100.

STATUS:>  	[12/5/2007 9:14:04 AM] This site can resume broken downloads.

COMMAND:>	[12/5/2007 9:14:04 AM] REST 0

		[12/5/2007 9:14:04 AM] 350 Restarting at 0.

COMMAND:>	[12/5/2007 9:14:04 AM] PASV

		[12/5/2007 9:14:04 AM] 227 Entering Passive Mode (216,55,000,000,19,139).

COMMAND:>	[12/5/2007 9:14:04 AM] LIST

STATUS:>  	[12/5/2007 9:14:04 AM] Connecting FTP data socket... 216.55.000.000:5003...

		[12/5/2007 9:14:04 AM] 125 Data connection already open; Transfer starting.

		[12/5/2007 9:14:04 AM] 226 Transfer complete.

STATUS:>  	[12/5/2007 9:14:04 AM] Directory listing completed.

Open in new window

0
Comment
Question by:jaysch
  • 6
  • 6
12 Comments
 
LVL 26

Expert Comment

by:Dan McFadden
ID: 20413890
Is this ftp location going into a root of a website or web application?  I have experienced similar issues with ftp'ing image files while the site is live.  This is usually due to the web server trying to serve the image file while you are trying to upload it.
0
 

Author Comment

by:jaysch
ID: 20414054
Yes, when I connect to the site and try to open the \images folder it hangs and says files are already transferring but nothing is really happening. I tried stopping the server but it didn't help.
0
 
LVL 26

Expert Comment

by:Dan McFadden
ID: 20414114
If the site is running under IIS6 and it is configured with a AppPool, try recycling the AppPool and then ftp'ing the file.

I have a similar issue, on occasion, and if I retry the ftp a moment later, the file usually goes thru successfully.

If that fails, (and I hate saying this) and if this is not a production system, I would try an IISRESET and then try the ftp.  I am sure this will work.  IMHO, an IISRESET is a late resort.
0
 

Author Comment

by:jaysch
ID: 20414416
I tried recycling the AppPool - that had no affect on my problem. Next I did a IIS Restart - no luck. I get the same results on two different ftp clients. Am I looking at a re-boot?
0
 
LVL 26

Expert Comment

by:Dan McFadden
ID: 20414643
To IIS, an iisreset is the same as a reboot.  What happens if you stop the website and the associated AppPool?  Can the file be ftp'ed?
0
 

Author Comment

by:jaysch
ID: 20415447
Rebooted the server, same problem. Stopped the website, no such luck.
0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 26

Expert Comment

by:Dan McFadden
ID: 20415539
- Can you ftp the images into another location successfully?
- Is there a share on the server where you are getting the files from?  Does anything have these file(s) open/locked?
- Is there a share on the server where you are putting the files to?  Does anything have these file(s) open/locked?
- Does the ftp server allow writes to this location?
- Do the NTFS ACLs allow writes to this location?
0
 

Author Comment

by:jaysch
ID: 20415577

- Can you ftp the images into another location successfully?
 Yes

- Is there a share on the server where you are getting the files from?  Does anything have these file(s) open/locked?
No

- Is there a share on the server where you are putting the files to?  Does anything have these file(s) open/locked?
No

- Does the ftp server allow writes to this location?
Yes

- Do the NTFS ACLs allow writes to this location?
How do I check?
0
 
LVL 26

Expert Comment

by:Dan McFadden
ID: 20415749
Navigate to the folder where the root of your site is, right-click on the folder and select properties, then select security.  You will be presented with the ACLs for that folder and those below it.
0
 

Author Comment

by:jaysch
ID: 20415941
Yes security settings allow writes. I should add that I was able to upload (put) and download (get) image folders for several months after the server was first setup. At some point along the way, I developed problems uploading and downloading folders with image files. Now, I can't even open my \image folder - 125 error. I've tried all ftp mode and nothing seems to work.
0
 
LVL 26

Expert Comment

by:Dan McFadden
ID: 20416057
can you upload files in the images folder from the command prompt, not using cuteftp?  Or have you tried another ftp client.... say filezilla?
0
 

Accepted Solution

by:
jaysch earned 0 total points
ID: 20416098
I tried Fetch and same problem. I will try from command prompt...
0

Featured Post

Free book by J.Peter Bruzzese, Microsoft MVP

Are you using Office 365? Trying to set up email signatures but you’re struggling with transport rules and connectors? Let renowned Microsoft MVP J.Peter Bruzzese show you how in this exclusive e-book on Office 365 email signatures. Better yet, it’s free!

Join & Write a Comment

What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
Viewers will learn how to properly install and use Secure Shell (SSH) to work on projects or homework remotely. Download Secure Shell: Follow basic installation instructions: Open Secure Shell and use "Quick Connect" to enter credentials includi…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now