PowWeb Forums - The Perfect Community for the Perfect Host  

Register now to interact with over 11,000 members! Registered users have Posting Privileges, free access to Private Messaging, Email Notifications and more.

Go Back   PowWeb Community Forums > The PowWeb Platform > General Issues / Questions
User Name
Password
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread
Old 9-14-09, 05:49 PM   #1
coan.net
COAN.NET
 
coan.net's Avatar
 
Join Date: Jul 2002
Location: COAN.NET
Posts: 910
Reputation: 92
FTP mput problems?

For the agency I work with, I setup a simple .BAT batch file which brings up the windows FTP window, signs into the server, changes local directory & remote directory, the runs the command:

mput *.html

In the past, this just simple ran through the 15 .html files that they can easily edit with frontpage, and just copies them out there without any issues.

Today, I've run into 2 issues when it comes to that command.

#1 - Sometimes it will just hang on that command for about 1 minute, then finally bring up a "Connection closed by remote host." message. (Note: Batch usually takes about 20 seconds to completly run).

#2 - Another time when it got to the mput *.html command, it came back with:

500 RT not understood
425 Unable to build data connection: Invalid argument
425 Unable to build data connection: Invalid argument
425 Unable to build data connection: Invalid argument
425 Unable to build data connection: Invalid argument
425 Unable to build data connection: Invalid argument
(repeats this for the 15 files that are usually copied)

... and then the batch completes with it's normal "quit" and "pause" so we can see the result.

Anyone know what is going on? If anything has changed on PowWeb's side? Again, this is a batch file that I've used for the past few years with the only issue being when PowWeb made us change passwords and I had to go and update the scripts.

I will go and manually place the files out there with a real FTP program for now, but I really need this to work like it has, and any help would be appreciated.

Thanks.
coan.net is offline   Reply With Quote
Old 9-15-09, 12:16 PM   #2
steelec4
Registered
 
Join Date: Sep 2009
Location: US
Posts: 7
Reputation: 0
This has been an ongoing problem for me since they 'enchanced' the security with FTP accounts. What I have found is keep retrying to FTP your files, eventually you will get a working connection. I think the most tries it has taken me is 4. Also, make sure you use the -a option in your FTP call in the batch file. It seems to help.
steelec4 is offline   Reply With Quote
Old 9-15-09, 12:41 PM   #3
coan.net
COAN.NET
 
coan.net's Avatar
 
Join Date: Jul 2002
Location: COAN.NET
Posts: 910
Reputation: 92
Quote:
Originally Posted by steelec4 View Post
This has been an ongoing problem for me since they 'enchanced' the security with FTP accounts. What I have found is keep retrying to FTP your files, eventually you will get a working connection. I think the most tries it has taken me is 4. Also, make sure you use the -a option in your FTP call in the batch file. It seems to help.

-a - Use any local interface when binding data connection.

Not really sure what that means, but I can try to add it and see if it helps.

One of the issues we had was that it worked so well in the past that they ran it, looked away and did other things, came back and just assumed it worked.... which when I didn't - what it did was replaced all the files with nothing (that is the file was there, but nothing in it) - so when visiting the website, it was just blanked (and took a little while to track down what was causing it.)
coan.net is offline   Reply With Quote
Old 9-15-09, 12:48 PM   #4
steelec4
Registered
 
Join Date: Sep 2009
Location: US
Posts: 7
Reputation: 0
Yep, same problem I have. -a improved my success rate, but it still fails regularly.

I also made my shortcut to the batch file write the output to a TXT file, then at the end of the batch file, I added a line that opened the TXT file to screen so I could quickly scan to see if the files uploaded.
steelec4 is offline   Reply With Quote
Old 11-5-09, 05:59 PM   #5
coan.net
COAN.NET
 
coan.net's Avatar
 
Join Date: Jul 2002
Location: COAN.NET
Posts: 910
Reputation: 92
Sorry for bringing this older thread back, but I'm again having issues and above is a lot of the "back story" of what I have done so far (so might help in getting an answer)

So today, I go and run the .bat to upload files to our site.

I do use the -a option

I connect, change correct directories, and then when the mput *.html file is ran, I get the following:

500 ,212,245,155,9,30 not understood
425 Unable to build data connection: Invalid argument
425 Unable to build data connection: Invalid argument
425 Unable to build data connection: Invalid argument
425 Unable to build data connection: Invalid argument


Does that result tell anyone anything?
coan.net is offline   Reply With Quote
Old 11-5-09, 06:44 PM   #6
mpk
PowWeb Staff
 
mpk's Avatar
 
Join Date: Dec 2008
Location: united states
Posts: 80
Reputation: 14
I recommend submitting a support ticket. We will need to identify which FTP server you are connecting to. There may be a load issue on the server causing the connection issues you are seeing.
mpk is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 11:29 PM.


Contents ©PowWeb, Inc. ~ vBulletin, Copyright © 2000-2007 Jelsoft Enterprises Limited.