Log in
Register
Search
Search titles only
By:
Search titles only
By:
Forums
New posts
Forum list
Search forums
Leaderboards
Games
Our Blog
Blogs
New entries
New comments
Blog list
Search blogs
Credits
Transactions
Shop
Blessings: ✟0.00
Tickets
Open new ticket
Watched
Donate
Log in
Register
Search
Search titles only
By:
Search titles only
By:
More options
Toggle width
Share this page
Share this page
Share
Reddit
Pinterest
Tumblr
WhatsApp
Email
Share
Link
Menu
Install the app
Install
Forums
Leisure and Society
Society
Technology
FTP Scripting?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="yodafett" data-source="post: 58599809" data-attributes="member: 165643"><p>yes, I'm running it from a .bat file (tried manually entering at CLI, as well, to same results) Just plain FTP commands from a Windows Server 2008 R2 box.</p><p></p><p>edited script below. Aside from the <> details, the script is exactly as below. Worked fine for months pulling files from a server in our company's DMZ to a central Operations server. Now it doesn't. It runs as domain admin on the operations server as a Scheduled Task. It Authenticates fine, and does the change directory fine. As soon as it hits the first mget, it just stalls... doesn't error, doesn't freeze, just sits like it's working, and never does anything. Flashing cursor - the end. I've tried replacing "mget" with "get" and "recv" to the exact same result. I do it manually from command line, line by line it's totally fine, until the first copy command. Have even tried changing the local destination folders, just to check permissions.</p><p></p><p></p><p></p><p></p><p></p><p>open <ip address></p><p><user></p><p><password></p><p>prompt n</p><p>lcd \\<local destination file path></p><p>mget *.txt</p><p>mget *.doc</p><p>mget *.pdf</p><p></p><p>bye</p></blockquote><p></p>
[QUOTE="yodafett, post: 58599809, member: 165643"] yes, I'm running it from a .bat file (tried manually entering at CLI, as well, to same results) Just plain FTP commands from a Windows Server 2008 R2 box. edited script below. Aside from the <> details, the script is exactly as below. Worked fine for months pulling files from a server in our company's DMZ to a central Operations server. Now it doesn't. It runs as domain admin on the operations server as a Scheduled Task. It Authenticates fine, and does the change directory fine. As soon as it hits the first mget, it just stalls... doesn't error, doesn't freeze, just sits like it's working, and never does anything. Flashing cursor - the end. I've tried replacing "mget" with "get" and "recv" to the exact same result. I do it manually from command line, line by line it's totally fine, until the first copy command. Have even tried changing the local destination folders, just to check permissions. open <ip address> <user> <password> prompt n lcd \\<local destination file path> mget *.txt mget *.doc mget *.pdf bye [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Leisure and Society
Society
Technology
FTP Scripting?
Top
Bottom