Link to home
Start Free TrialLog in
Avatar of jaysch
jayschFlag for United States of America

asked on

Error 125 - Cannot ftp image files

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

Avatar of Dan McFadden
Dan McFadden
Flag of United States of America image

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.
Avatar of jaysch

ASKER

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.
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.
Avatar of jaysch

ASKER

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?
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?
Avatar of jaysch

ASKER

Rebooted the server, same problem. Stopped the website, no such luck.
- 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?
Avatar of jaysch

ASKER


- 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?
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.
Avatar of jaysch

ASKER

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.
can you upload files in the images folder from the command prompt, not using cuteftp?  Or have you tried another ftp client.... say filezilla?
ASKER CERTIFIED SOLUTION
Avatar of jaysch
jaysch
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial