|
| Register now to interact with over 11,000 members! Registered users have Posting Privileges, free access to Private Messaging, Email Notifications and more. |
|
|||||||
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
COAN.NET
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. |
|
|
|
|
|
#2 |
|
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.
|
|
|
|
|
|
#3 | |
|
COAN.NET
Join Date: Jul 2002
Location: COAN.NET
Posts: 910
Reputation: 92
|
Quote:
-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.) |
|
|
|
|
|
|
#4 |
|
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. |
|
|
|
|
|
#5 |
|
COAN.NET
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? |
|
|
|
|
|
#6 |
|
PowWeb Staff
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.
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
|