FTP.EXE

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
 
R

Ray at

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
 
A

ALIYAH

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


.
 
A

Aliyah

Thanks Reinhardt, can you give me an example. I do not how
to use it. Thanks in advance
 
M

Michael Bednarek

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.
 
R

Reinhardt Kern

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top