FTP.EXE

  • Thread starter Thread starter Aliyah
  • Start date Start date
A

Aliyah

Hi to all,

Can anyone give an idea on how to upload files including
subdirectories to certain ftp server using FTP.EXE in
command prompt, example maybe.

thanks advance,
ALIYAH
 
ftp
open yourRemoteServer
[enter username when prompted]
[enter password when prompted]

lcd D:\YourLocalDirectory
cd TheRemoteDirectory
type binary
put image.gif
type ascii
put textfile.txt
mput *.txt
close
quit

Standard FTP command. You can enter ? to see FTP commands. You can enter
REMOTEHELP to see a list of commands that the server accepts.

Ray at work
 
thanks ray, I tried it already but I cannot copy the
subdirectories but when I use the ws_ftp it works not in
command prompt. Same user and access.
-----Original Message-----
ftp
open yourRemoteServer
[enter username when prompted]
[enter password when prompted]

lcd D:\YourLocalDirectory
cd TheRemoteDirectory
type binary
put image.gif
type ascii
put textfile.txt
mput *.txt
close
quit

Standard FTP command. You can enter ? to see FTP commands. You can enter
REMOTEHELP to see a list of commands that the server accepts.

Ray at work

Hi to all,

Can anyone give an idea on how to upload files including
subdirectories to certain ftp server using FTP.EXE in
command prompt, example maybe.

thanks advance,
ALIYAH


.
 
I use a CLI (4NT) which supports FTP through the built-in command IFTP:

First:
IFTP "ftp://[user[:password]@]server[/path]"]

and then
COPY localDir\*.txt "ftp:remoteDir/"

IFTP is documented at <http://jpsoft.com/help/iftp.htm>

thanks ray, I tried it already but I cannot copy the
subdirectories but when I use the ws_ftp it works not in
command prompt. Same user and access.
-----Original Message-----
ftp
open yourRemoteServer
[enter username when prompted]
[enter password when prompted]

lcd D:\YourLocalDirectory
cd TheRemoteDirectory
type binary
put image.gif
type ascii
put textfile.txt
mput *.txt
close
quit

Standard FTP command. You can enter ? to see FTP commands. You can enter
REMOTEHELP to see a list of commands that the server accepts.

Ray at work

Hi to all,

Can anyone give an idea on how to upload files including
subdirectories to certain ftp server using FTP.EXE in
command prompt, example maybe.
 
Aliyah said:
Thanks Reinhardt, can you give me an example. I do not how
to use it. Thanks in advance

Hi Aliyah,

just download the EXE file and ask the online help:
http://www.klake.org/~jt/wput/

---------------------------------------------------
wput > ?
WPUT version 1.0
Available commands are:
? show this text
sh show parameters
q return only HTTP status codes
qq be quiet
nq be noisy (default)
h [host:port] change host and port
p [host:port] use proxy server host:port
r [port] change source port
u change base url v [string] .../itooktheredpill.dyndns.org/wput/ Reinhardt
 
Back
Top