2
votes
2answers
50 views

what is %username% in FTP

I just made a script to upload important files, but there are more then 1 user on my computer and I want it to upload the user that is using the program.. so like in cmd I tried to do something like ...
0
votes
0answers
40 views

Batch: backup, then delete old backup

I have a batch script that runs hourly. It connects to an FTP server, downloads a backup file, then deletes the oldest backup (backups are kept for 4hours by default). This is supposed to insulate our ...
0
votes
0answers
10 views

exclude directories from ncftpput

I've got a .bat file with this command: ncftpput -R -u username -p password host remote/directory *. Basically, I want to not upload the following directories: libs/Smarty/ public_html/images/ ...
1
vote
1answer
1k views

Run an ftp batch file from within a batch file

I have a scheduled task which executes the commands in my file ftp.txt every day. The file can be seen below, it connects via ftp to my site and puts 3 XML files on to my web server. command: ftp ...
2
votes
1answer
733 views

FTP batch file works from command line but not scheduled task

I want a windows scheduled task to execute an ftp batch file which will upload some files to my server. If i run the argument below from the command line then it executes successfully. ftp -i ...
0
votes
0answers
111 views

How do I diagnose errors in a batch FTP operation?

I need to transfer two text files from my local PC to a directory on my server. I use a command sequence stored in FtpCommand.cmd to perform the commands in ftp, using the following command. ftp -i ...
2
votes
2answers
454 views

Batch file to poll a folder for new files

I want to write a batch file which is triggered whenever a new file is added to a particular folder. I can schedule a task using schtasks. But I am looking for a solution based upon interrupt kind ...
0
votes
2answers
499 views

File upload batch

I am trying to write a batch file that will Upload and update a specific set of file on my desktop to an FTP account, so I wrote this batch: @ftp -i -s:"%~f0"&GOTO:EOF open DomainName.com ...
0
votes
1answer
427 views

FTP upload a list of files saved in a txt preserving the path in the server side?

I have a list of files changes, example: /opt/lampp/htdocs/project/index.php /opt/lampp/htdocs/project/css/styles.css /opt/lampp/htdocs/project/css/styles001.css ...
1
vote
0answers
309 views

Downloading a file from multiple FTP's via excel/command prompt

I have a huge list of ip's which point to a text file I need to download. There is about 500 text files and the text filename is the same, data.txt. My initial thought was to use a macro to get the ...
2
votes
1answer
1k views

Windows - ftp.exe - Sending Multiple Files

How do you send multiple files using ftp.exe? How do you send multiple files of the same file extension? I tried using "mput", as the help for ftp.exe says that command is for sending multiple ...
-1
votes
2answers
1k views

Copying a set of local files to FTP server

I want to copy a set of local files to ftp://124.30.124.230 (it will ask username and password). I want to do this work in 400 systems. I have planned to do this work by creating a batch file and ...
1
vote
4answers
8k views

Transferring files from ftp to local system [closed]

I want to copy a file from a FTP server and save it to my local system. I want to automate this through the use of a batch file. I've been trying this for a week, but I couldn't find the solution. ...
3
votes
1answer
700 views

Freeware FTP client with batch processing support

Is there a freeware FTP client with batch processing support? I have 50 IP addresses that I need to upload to. How do I make this as simple as possible?
1
vote
2answers
1k views

How to write a script to move files from one FTP server to another?

What are some good ways to move file from a development site on a linux server to another linux server (which would be production). I will be working from a Vista system. Basically, I'd like to just ...
1
vote
4answers
5k views

How do I check the outcome of a ftp script with a bat file?

I have a .bat file that runs a ftp script, grabbing files from the server and copying them to my machine. Works great. I now want this .bat file to report if any of these errors occured. If you ...
4
votes
3answers
2k views

What is the difference between running a .bat from cmd line vs. double click?

I have a .bat script with ftp commands (all in one) similar to this. See 5th down:FTP - Resolving Environment Variables - Creating FTP script on the fly at runtime and using variables within the FTP ...
3
votes
2answers
3k views

Can I specify a destination with the ftp get command?

For example, like Windows COPY "source" "target"? or is it two steps? Use get to download to current directory Then do a copy to move to another location on my computer?
2
votes
2answers
3k views

How to login to ftp in one step?

C:\adc_ftp>ftp sysadmin:ftp@localhost <----Looking for a 1 line login like this Unknown host sysadmin:ftp@localhost. <---doesn't work ftp> bye This works but not how I would like to log ...
0
votes
2answers
2k views

FTP script won't transfer remote files to local computer

This is a follow up to FTP BAT file - Windows Scheduled Task. I copied the FTP script, but I can't transfer the files to my local computer. All I get is this (server address omitted): 331 ...
4
votes
2answers
8k views

FTP BAT file - Windows Scheduled Task

Is it possible to create a scheduled task in windows, that connects to an FTP site, and downloads all the files and folders within the root directory (or specified folders in the root directory) - for ...