Share Copy sharable link for this gist. Learn more about clone URLs. Download ZIP. Useful for posting screenshots quickly in a post on a forum. This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below.
To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters Show hidden characters. Sign up for free to join this conversation on GitHub.
Thanks for the link, but I have honestly tried all that. I realize I am asking to be completely spoonfed, but I have seriously been trying for hours. I gave the FTP account info so that someone could help me fill all the blanks in, since I am obviously doing it wrong. Also, I do not want to upload from a command prompt, I just want to run the batch file and have it done for me — kmoney Have you tried the ncFTP Client from the command line??
Add a comment. Active Oldest Votes. TXT in your ftp root by; 1. Server port: Password required OK. You uploaded 1 and downloaded 0 kbytes. Alex K. Thanks so much for the answer That helped.. Wanting to move and rename it. I need to wait for some info before figuring the rest out.. Register Login. Reply Reply as topic. This topic has been deleted. When you run the ftp command from the batch file, it waits for its commands.
It does not know about the. If you really need to use a dynamic file name from an environment variable , you need to create the text file on-the-fly. The ftp does not support variables. If you use a better FTP client, you might be able to both have the commands in the batch file and use the environment variables.
Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Learn more. How do I upload a file to an FTP server using a batch script? Ask Question.
0コメント