Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > microsoft.public.scripting.vbscript > #11538 > unrolled thread

Command BATCH to upload file in FTP site

Started bychriromani@gmail.com
First post2017-01-11 05:59 -0800
Last post2017-01-13 18:47 +0100
Articles 4 — 4 participants

Back to article view | Back to microsoft.public.scripting.vbscript


Contents

  Command BATCH to upload file in FTP site chriromani@gmail.com - 2017-01-11 05:59 -0800
    Re: Command BATCH to upload file in FTP site "Dave \"Crash\" Dummy" <invalid@invalid.invalid> - 2017-01-11 15:35 -0500
    Re: Command BATCH to upload file in FTP site Tomy <Jan.Tomsa.1976@gmail.com> - 2017-01-13 08:01 -0800
    Re: Command BATCH to upload file in FTP site Ulrich Möller <knobbi38@arcor.de> - 2017-01-13 18:47 +0100

#11538 — Command BATCH to upload file in FTP site

Fromchriromani@gmail.com
Date2017-01-11 05:59 -0800
SubjectCommand BATCH to upload file in FTP site
Message-ID<d1e8f778-5e79-48fd-b4e8-1d794851ea27@googlegroups.com>
Hello all!
I try a lotof time to create a command dos that permit to upload file on a FTP site from a local folder. That command have to uplad a single file, but the file have to be diffrent form the file on FTP.
If the 2 file have the same dimension, it has to skip a write a log.

If anyone have idea, Many thanks !!!!

[toc] | [next] | [standalone]


#11539

From"Dave \"Crash\" Dummy" <invalid@invalid.invalid>
Date2017-01-11 15:35 -0500
Message-ID<o564qq$hj0$1@dont-email.me>
In reply to#11538
chriromani@gmail.com wrote:
> Hello all! I try a lotof time to create a command dos that permit to 
> upload file on a FTP site from a local folder. That command have to 
> uplad a single file, but the file have to be diffrent form the file 
> on FTP. If the 2 file have the same dimension, it has to skip a write
>  a log.
> 
> If anyone have idea, Many thanks !!!!

I would use a VBScript file to run the ftp.exe utility included in
Windows, with an appropriate list of commands. I would determine the
required commands to perform the desired task by first running ftp.exe
in a command box, then putting them in a text file to be read when ftp
is called from the VB script.
-- 
Crash

Half the people in the world are below average.

[toc] | [prev] | [next] | [standalone]


#11540

FromTomy <Jan.Tomsa.1976@gmail.com>
Date2017-01-13 08:01 -0800
Message-ID<ca7b3161-c986-4a1b-bd54-85e63c4b8f62@googlegroups.com>
In reply to#11538
I would suggest using WinScp.
It seems to have quite strong support for scripting.
See
https://winscp.net/eng/docs/scripting

[toc] | [prev] | [next] | [standalone]


#11541

FromUlrich Möller <knobbi38@arcor.de>
Date2017-01-13 18:47 +0100
Message-ID<o5b3ok$s0$1@dont-email.me>
In reply to#11538
Am 11.01.2017 um 14:59 schrieb chriromani@gmail.com:
> Hello all!
> I try a lotof time to create a command dos that permit to upload file on a FTP site from a local folder. That command have to uplad a single file, but the file have to be diffrent form the file on FTP.
> If the 2 file have the same dimension, it has to skip a write a log.
>
> If anyone have idea, Many thanks !!!!

An alternative approach to ftp can be using curl 
(https://curl.haxx.se/). It has a lot more features and supports ssl.

Ulrich


[toc] | [prev] | [standalone]


Back to top | Article view | microsoft.public.scripting.vbscript


csiph-web