Download xml file from FTP [closed] - ftp

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I want script to download xml file from ftp, already written small script for it and seems working fine, while running the script from command prompt ftp -s:script.txt. Is it possible to keep the script.txt file in some other drive and run it.
Because my script is in D\scripts drive and my command prompt defaults me to C drive,
please help.

If I'm not mistaken you can specify the full path:
ftp -s:D:\somepath\script.txt
be careful to use quotes should the path contain spaces:
ftp -s:"D:\some path with spaces\script.txt"

Related

MacOS -bash:Command not found [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
when I try to use the command d2r-server.bat kg_demo_movie_mapping.ttl in the terminal, the command not found.
And I tried to modify the .bash_profile as follow :
it's still not working.
Is there anyway to fix this?
The picture of bat file, and the terminal :
Batch files are for Windows use. In a bash shell you'll need a bash script. Bash scripts can be identified by a shebang line at the top of the script, e.g.:
#!/bin/bash
In the specific case of the d2rq package there are scripts included. Look through the files in your downloaded package and you'll find the bash scripts share the same basename without the .bat extension of the windows batch files.

Download files to specific target folder [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I am using wget in my windows PC to download files from an ftp server. But it downloads files into a folder where wget.exe is located. But i want it to download files to another folder.How it can be done?( i saw some links which i guess works only in linux).
#WINMAN please look into the following thread for your query, which might help you i hope
How to specify the location with wget?
−P prefix
−−directory−prefix=prefix
Set directory prefix to prefix. The directory prefix is the directory where all other files and subdirectories
will be saved to, i.e. the top of the retrieval tree. The default is . (the current directory).
Taken from the PDF, which comes with the docs from here: http://gnuwin32.sourceforge.net/packages/wget.htm
All other command-line arguments are in the pdf as well, so you should look into it.

Can I access my ftp server through path such as \\192.xx.xx.xx? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I build a ftp server based on serv-u winxp, now I can access it by ftp://192.xx.xx.xx, can I access it through path such as \192.xx.xx.xx directly? Direct means can doing it by explorer 's path, similar to the windows share folder, by I want to redirect the target.
No. \\192.xx.xx.xx is the URI syntax for Windows file sharing. That is not the same as FTP.
The only way to get to an FTP server from Explorer is to state the protocol, using the ftp:// URI syntax.

What program is missing? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I got the error below while running a pre-written cmd file on Windows.
'mt' is not recognized as an internal or external command,
operable program or batch file.
The use case is:
mt -manifest <... something else....>
It's obvious that it needs some mt, but I can't figure what mt really is, so I could install the thing.
Could anyone tell me what this is or where to get it?
Thanks
Given the context of a batch file, it's probably a backup script, so you're probably looking for this:
http://www.holistech.co.uk/sw/mt/mt.html
Or if it's a script from a dev project, it probably refers to this:
http://msdn.microsoft.com/en-us/library/windows/desktop/aa375649(v=vs.85).aspx
Again, what does the script do?

open source freeware alternatives to FTP ZipDeploy? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
The goal is to upload my whole website as a zip then unzip on the remote server.
Are there any freeware tools like FTP ZipDeploy that automate this process?
If you can use rsync that is a great option.. you should consider using the backup directory option too so that you keep historical versions but keep them outside the public html area.
If you can't use rsync then you could use scp which will compress transfers for you.
If you can't use rsync nor scp then you can use something like CuteFTP (windows) which will compress transfers for you.
Any reason not to use rsync? It will conserve bandwidth/transmission time by not resending files that haven't been updated.

Resources