[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 715
  • Last Modified:

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

0
jaysch
Asked:
jaysch
  • 6
  • 6
1 Solution
 
Dan McFaddenSystems EngineerCommented:
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
 
jayschAuthor Commented:
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
 
Dan McFaddenSystems EngineerCommented:
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
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 
jayschAuthor Commented:
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
 
Dan McFaddenSystems EngineerCommented:
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
 
jayschAuthor Commented:
Rebooted the server, same problem. Stopped the website, no such luck.
0
 
Dan McFaddenSystems EngineerCommented:
- 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
 
jayschAuthor Commented:

- 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
 
Dan McFaddenSystems EngineerCommented:
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
 
jayschAuthor Commented:
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
 
Dan McFaddenSystems EngineerCommented:
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
 
jayschAuthor Commented:
I tried Fetch and same problem. I will try from command prompt...
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 6
  • 6
Tackle projects and never again get stuck behind a technical roadblock.
Join Now